public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] arch/v850/kernel/process.c must #include <linux/module.h>
@ 2007-07-07 21:11 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-07-07 21:11 UTC (permalink / raw)
  To: Miles Bader; +Cc: linux-kernel

This patch fixes the following compile error:

<--  snip  -->

...
  CC      arch/v850/kernel/process.o
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/arch/v850/kernel/process.c:32: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/arch/v850/kernel/process.c:32: warning: parameter names (without types) in function declaration
/home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/arch/v850/kernel/process.c:32: warning: data definition has no type or storage class
...
make[2]: *** [arch/v850/kernel/process.o] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.22-rc6-mm1/arch/v850/kernel/process.c.old	2007-07-07 22:17:18.000000000 +0200
+++ linux-2.6.22-rc6-mm1/arch/v850/kernel/process.c	2007-07-07 22:17:56.000000000 +0200
@@ -23,6 +23,7 @@
 #include <linux/user.h>
 #include <linux/a.out.h>
 #include <linux/reboot.h>
+#include <linux/module.h>
 
 #include <asm/uaccess.h>
 #include <asm/system.h>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-07 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-07 21:11 [2.6 patch] arch/v850/kernel/process.c must #include <linux/module.h> Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox