[2.6 patch] arch/v850/kernel/process.c must #include<linux/module.h>

From: Adrian Bunk
Date: Sat Jul 07 2007 - 17:11:14 EST


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@xxxxxxxxx>

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/