[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1272391235-32036-1-git-send-email-steve@digidescorp.com>
Date: Tue, 27 Apr 2010 13:00:35 -0500
From: "Steven J. Magnani" <steve@...idescorp.com>
To: microblaze-uclinux@...e.uq.edu.au
Cc: monstr@...str.eu, linux-kernel@...r.kernel.org,
"Steven J. Magnani" <steve@...idescorp.com>
Subject: [PATCH] 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@...idescorp.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists