summaryrefslogtreecommitdiffstats
path: root/arch/metag/kernel/da.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/da.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/da.c')
-rw-r--r--arch/metag/kernel/da.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/metag/kernel/da.c b/arch/metag/kernel/da.c
index 52aabb658fde..a35dbed6fffa 100644
--- a/arch/metag/kernel/da.c
+++ b/arch/metag/kernel/da.c
@@ -5,12 +5,14 @@
*/
+#include <linux/export.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <asm/da.h>
#include <asm/metag_mem.h>
bool _metag_da_present;
+EXPORT_SYMBOL_GPL(_metag_da_present);
int __init metag_da_probe(void)
{