arch/v850/kernel/process.c must #include <linux/module.h>
PATCH 1/1 arch/v850/kernel/process.c must #include <linux/module.h>
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 <[email protected]>
---
arch/v850/kernel/process.c renamed from arch/v850/kernel/process.c.old +1 -0
@@ -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>