projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
538722c
)
microblaze: export assembly functions used by modules
author
Steven J. Magnani
<steve@digidescorp.com>
Tue, 27 Apr 2010 18:00:35 +0000
(13:00 -0500)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 13 May 2010 08:46:04 +0000
(10:46 +0200)
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>
arch/microblaze/kernel/microblaze_ksyms.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/microblaze_ksyms.c
b/arch/microblaze/kernel/microblaze_ksyms.c
index bc4dcb7d3861c50aff24b152f37655c80c937d95..ecfb852cd1c5c1b5c80549841110d1feb2325e5c 100644
(file)
--- 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