diff options
author | Steven J. Magnani <steve@digidescorp.com> | 2010-04-27 20:00:35 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-05-13 10:46:04 +0200 |
commit | e1733d2c397476c245a681ba0b54c88858b7a0be (patch) | |
tree | 400a1035774b8266cb303a0b5246c2a9551bd282 /arch/microblaze/kernel/microblaze_ksyms.c | |
parent | microblaze: fix get_user/put_user side-effects (diff) | |
download | linux-e1733d2c397476c245a681ba0b54c88858b7a0be.tar.xz 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/kernel/microblaze_ksyms.c')
-rw-r--r-- | arch/microblaze/kernel/microblaze_ksyms.c | 10 |
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 |