mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-31 16:13:22 +00:00
metag: export _metag_da_present and cpu_2_hwthread_id
Export the symbols _metag_da_present and cpu_2_hwthread_id to modules (GPL only) to allow the imgdafs file system to be built as a module. Signed-off-by: James Hogan <james.hogan@imgtec.com>
This commit is contained in:
parent
876d6dcdf2
commit
e605ff8c1a
@ -5,12 +5,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <linux/export.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <asm/da.h>
|
#include <asm/da.h>
|
||||||
#include <asm/metag_mem.h>
|
#include <asm/metag_mem.h>
|
||||||
|
|
||||||
bool _metag_da_present;
|
bool _metag_da_present;
|
||||||
|
EXPORT_SYMBOL_GPL(_metag_da_present);
|
||||||
|
|
||||||
int __init metag_da_probe(void)
|
int __init metag_da_probe(void)
|
||||||
{
|
{
|
||||||
|
@ -124,6 +124,7 @@ struct machine_desc *machine_desc __initdata;
|
|||||||
u8 cpu_2_hwthread_id[NR_CPUS] __read_mostly = {
|
u8 cpu_2_hwthread_id[NR_CPUS] __read_mostly = {
|
||||||
[0 ... NR_CPUS-1] = BAD_HWTHREAD_ID
|
[0 ... NR_CPUS-1] = BAD_HWTHREAD_ID
|
||||||
};
|
};
|
||||||
|
EXPORT_SYMBOL_GPL(cpu_2_hwthread_id);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Map a hardware thread ID to a Linux CPU number
|
* Map a hardware thread ID to a Linux CPU number
|
||||||
|
Loading…
x
Reference in New Issue
Block a user