summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorSteven J. Magnani <steve@digidescorp.com>2010-04-27 13:00:35 -0500
committerMichal Simek <monstr@monstr.eu>2010-05-13 10:46:04 +0200
commite1733d2c397476c245a681ba0b54c88858b7a0be (patch)
tree400a1035774b8266cb303a0b5246c2a9551bd282 /arch/microblaze
parent538722ca3b762023ac65cec214901a1ebff8b575 (diff)
downloadlinux-e1733d2c397476c245a681ba0b54c88858b7a0be.tar.gz
linux-e1733d2c397476c245a681ba0b54c88858b7a0be.tar.bz2
linux-e1733d2c397476c245a681ba0b54c88858b7a0be.zip
microblaze: export assembly functions used by modules
Modules that use copy_{to,from}_user(), memcpy(), and memset() fail to build in certain circumstances. Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/microblaze_ksyms.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/microblaze_ksyms.c b/arch/microblaze/kernel/microblaze_ksyms.c
index bc4dcb7d3861..ecfb852cd1c5 100644
--- a/arch/microblaze/kernel/microblaze_ksyms.c
+++ b/arch/microblaze/kernel/microblaze_ksyms.c
@@ -52,3 +52,13 @@ EXPORT_SYMBOL_GPL(_ebss);
extern void _mcount(void);
EXPORT_SYMBOL(_mcount);
#endif
+
+/*
+ * Assembly functions that may be used (directly or indirectly) by modules
+ */
+EXPORT_SYMBOL(__copy_tofrom_user);
+
+#ifdef CONFIG_OPT_LIB_ASM
+EXPORT_SYMBOL(memcpy);
+EXPORT_SYMBOL(memmove);
+#endif