From: Adrian Bunk <bunk@stusta.de>
To: Miles Bader <miles@gnu.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] arch/v850/kernel/process.c must #include <linux/module.h>
Date: Sat, 7 Jul 2007 23:11:20 +0200 [thread overview]
Message-ID: <20070707211120.GM3492@stusta.de> (raw)
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>
reply other threads:[~2007-07-07 21:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070707211120.GM3492@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=miles@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox