All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] microblaze: export assembly functions used by modules
@ 2010-04-27 18:00 Steven J. Magnani
  2010-04-30  5:51 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Steven J. Magnani @ 2010-04-27 18:00 UTC (permalink / raw)
  To: microblaze-uclinux; +Cc: monstr, linux-kernel, Steven J. Magnani

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>
---
diff -uprN a/arch/microblaze/kernel/microblaze_ksyms.c b/arch/microblaze/kernel/microblaze_ksyms.c
--- a/arch/microblaze/kernel/microblaze_ksyms.c	2010-04-27 10:14:33.000000000 -0500
+++ b/arch/microblaze/kernel/microblaze_ksyms.c	2010-04-27 12:52:08.000000000 -0500
@@ -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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-30 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27 18:00 [PATCH] microblaze: export assembly functions used by modules Steven J. Magnani
2010-04-30  5:51 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.