[2.6 patch] mn10300: export kernel_thread

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <dhowells@...>, <yasutake.koichi@...>
Cc: <linux-am33-list@...>, <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Thursday, June 12, 2008 - 6:11 pm

This patch fixes thefollowing build error:

<--  snip  -->

...
  MODPOST 1310 modules
ERROR: "kernel_thread" [net/sunrpc/sunrpc.ko] undefined!
ERROR: "kernel_thread" [net/ipv4/ipvs/ip_vs.ko] undefined!
ERROR: "kernel_thread" [net/bluetooth/hidp/hidp.ko] undefined!
ERROR: "kernel_thread" [net/bluetooth/cmtp/cmtp.ko] undefined!
ERROR: "kernel_thread" [net/bluetooth/bnep/bnep.ko] undefined!
ERROR: "kernel_thread" [fs/nfs/nfs.ko] undefined!
ERROR: "kernel_thread" [fs/lockd/lockd.ko] undefined!
ERROR: "kernel_thread" [fs/jffs2/jffs2.ko] undefined!
...
WARNING: modpost: Found 2 section mismatch(es).

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 arch/mn10300/kernel/mn10300_ksyms.c |    3 +++
 1 file changed, 3 insertions(+)

f6120ef1dbb0831e753b6f241bbca4600aa94c10 diff --git a/arch/mn10300/kernel/mn10300_ksyms.c b/arch/mn10300/kernel/mn10300_ksyms.c
index 6d19628..aba584a 100644
--- a/arch/mn10300/kernel/mn10300_ksyms.c
+++ b/arch/mn10300/kernel/mn10300_ksyms.c
@@ -10,6 +10,7 @@
  */
 #include <linux/module.h>
 #include <asm/uaccess.h>
+#include <asm/processor.h>
 
 
 EXPORT_SYMBOL(change_bit);
@@ -35,3 +36,5 @@ EXPORT_SYMBOL(__ashrdi3);
 EXPORT_SYMBOL(__ashldi3);
 EXPORT_SYMBOL(__lshrdi3);
 EXPORT_SYMBOL(__negdi2);
+
+EXPORT_SYMBOL(kernel_thread);

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] mn10300: export kernel_thread, Adrian Bunk, (Thu Jun 12, 6:11 pm)
Re: [2.6 patch] mn10300: export kernel_thread, David Howells, (Fri Jun 13, 9:11 am)
Re: [2.6 patch] mn10300: export kernel_thread, Adrian Bunk, (Fri Jun 13, 9:22 am)