summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/mm/init.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-05-01 21:48:15 +0000
committerMichal Simek <monstr@monstr.eu>2009-05-21 15:56:05 +0200
commit5af7fa68103e7b2efb0fd9d901b1c25bad96fd21 (patch)
tree41bd4c0a244797d9558e3e9d1b0460309462510c /arch/microblaze/mm/init.c
parent6fa612b56c575a5235568593eab4240c90608630 (diff)
microblaze: export some symbols
Some device drivers require the symbols _ebss, kernel_thread, __page_offset or ___range_ok, so export them. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/mm/init.c')
-rw-r--r--arch/microblaze/mm/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index b0c8213cd6c..31ec053c1dd 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -24,7 +24,7 @@
#include <asm/tlb.h>
unsigned int __page_offset;
-/* EXPORT_SYMBOL(__page_offset); */
+EXPORT_SYMBOL(__page_offset);
char *klimit = _end;
@@ -199,3 +199,4 @@ int ___range_ok(unsigned long addr, unsigned long size)
return ((addr < memory_start) ||
((addr + size) > memory_end));
}
+EXPORT_SYMBOL(___range_ok);