Skip to content

Commit

Permalink
microblaze: export assembly functions used by modules
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven J. Magnani authored and Michal Simek committed May 13, 2010
1 parent 538722c commit e1733d2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/microblaze/kernel/microblaze_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e1733d2

Please sign in to comment.