summaryrefslogtreecommitdiffstats
path: root/arch/metag/kernel/setup.c
diff options
context:
space:
mode:
authorJames Hogan2013-03-26 15:10:42 +0100
committerJames Hogan2013-03-27 15:37:52 +0100
commite605ff8c1a785f49801ad903846f62e609f954f7 (patch)
tree966b1ea781b83346b78789c38eecc9d9c4decb39 /arch/metag/kernel/setup.c
parentmetag: ptrace: Implement NT_METAG_TLS (diff)
downloadkernel-qcow2-linux-e605ff8c1a785f49801ad903846f62e609f954f7.tar.gz
kernel-qcow2-linux-e605ff8c1a785f49801ad903846f62e609f954f7.tar.xz
kernel-qcow2-linux-e605ff8c1a785f49801ad903846f62e609f954f7.zip
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>
Diffstat (limited to 'arch/metag/kernel/setup.c')
-rw-r--r--arch/metag/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c
index 879246170aec..4f5726f1a55b 100644
--- a/arch/metag/kernel/setup.c
+++ b/arch/metag/kernel/setup.c
@@ -124,6 +124,7 @@ struct machine_desc *machine_desc __initdata;
u8 cpu_2_hwthread_id[NR_CPUS] __read_mostly = {
[0 ... NR_CPUS-1] = BAD_HWTHREAD_ID
};
+EXPORT_SYMBOL_GPL(cpu_2_hwthread_id);
/*
* Map a hardware thread ID to a Linux CPU number