microblaze: export assembly functions used by modules
PATCH 1/1 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 <[email protected]>
---
arch/microblaze/kernel/microblaze_ksyms.c +10 -0
@@ -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
Quoted 13 lines · Steven J. Magnani
Modules that use copy_{to,from}_user(),
memcpy(), andmemset()fail to build in certain circumstances.Signed-off-by Steven J. Magnani <[email protected]>---
diff -uprNa/arch/microblaze/kernel/microblaze_ksyms.cb/arch/microblaze/kernel/microblaze_ksyms.carch/microblaze/kernel/microblaze_ksyms.c +0
-0@@ -52,3 +52,13 @@ EXPORT_SYMBOL_GPL(_ebss);extern void _mcount (void );EXPORT_SYMBOL (_mcount);#endif
arch/microblaze/kernel/microblaze_ksyms.c EXPORT_SYMBOL_GPL(_ebss); · line 64
Quoted 10 lines
arch/microblaze/kernel/microblaze_ksyms.c +10
-0+ +/* +* 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
applied.
Thanks,
Michal
Signature · 4 lines
Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian