All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] mn10300: export kernel_thread
@ 2008-04-14 14:19 Adrian Bunk
  2008-04-14 15:14 ` David Howells
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2008-04-14 14:19 UTC (permalink / raw)
  To: dhowells, yasutake.koichi; +Cc: linux-am33-list, linux-kernel

This patch fixes the following build error:

<--  snip  -->

...
  MODPOST 1256 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!
ERROR: "kernel_thread" [drivers/usb/atm/usbatm.ko] undefined!
...
make[2]: *** [__modpost] Error 1

<--  snip  -->

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

---
ca4c4f445e4b7cfbedc815cfc08ab2c70581c774 diff --git a/arch/mn10300/kernel/process.c b/arch/mn10300/kernel/process.c
index 3b0d579..194574e 100644
--- a/arch/mn10300/kernel/process.c
+++ b/arch/mn10300/kernel/process.c
@@ -154,6 +154,7 @@ int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
 	return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0, &regs, 0,
 		       NULL, NULL);
 }
+EXPORT_SYMBOL_GPL(kernel_thread);
 
 /*
  * free current thread data structures etc..


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [2.6 patch] mn10300: export kernel_thread
@ 2008-06-12 22:11 Adrian Bunk
  2008-06-13 13:11 ` David Howells
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2008-06-12 22:11 UTC (permalink / raw)
  To: dhowells, yasutake.koichi; +Cc: linux-am33-list, linux-kernel, Andrew Morton

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);


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

end of thread, other threads:[~2008-06-13 13:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 14:19 [2.6 patch] mn10300: export kernel_thread Adrian Bunk
2008-04-14 15:14 ` David Howells
2008-04-14 18:42   ` Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2008-06-12 22:11 Adrian Bunk
2008-06-13 13:11 ` David Howells
2008-06-13 13:22   ` Adrian Bunk

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.