From: miles@mcspd15.ucom.lsi.nec.co.jp (Miles Bader)
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH][v850] Add some #includes for the v850 to eliminate some compiler warnings
Date: Fri, 6 Feb 2004 16:54:47 +0900 (JST) [thread overview]
Message-ID: <20040206075447.739BB56@mcspd15> (raw)
diff -ruN -X../cludes linux-2.6.2-uc0/arch/v850/kernel/bug.c linux-2.6.2-uc0-v850-20040206/arch/v850/kernel/bug.c
--- linux-2.6.2-uc0/arch/v850/kernel/bug.c 2003-10-09 11:54:16.000000000 +0900
+++ linux-2.6.2-uc0-v850-20040206/arch/v850/kernel/bug.c 2004-02-06 14:02:30.000000000 +0900
@@ -14,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/reboot.h>
#include <linux/sched.h>
+#include <linux/module.h>
#include <asm/errno.h>
#include <asm/ptrace.h>
diff -ruN -X../cludes linux-2.6.2-uc0/arch/v850/kernel/setup.c linux-2.6.2-uc0-v850-20040206/arch/v850/kernel/setup.c
--- linux-2.6.2-uc0/arch/v850/kernel/setup.c 2002-12-24 15:01:07.000000000 +0900
+++ linux-2.6.2-uc0-v850-20040206/arch/v850/kernel/setup.c 2004-02-06 14:02:30.000000000 +0900
@@ -1,8 +1,8 @@
/*
* arch/v850/kernel/setup.c -- Arch-dependent initialization functions
*
- * Copyright (C) 2001,02 NEC Corporation
- * Copyright (C) 2001,02 Miles Bader <miles@gnu.org>
+ * Copyright (C) 2001,02,03 NEC Electronics Corporation
+ * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
*
* This file is subject to the terms and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
@@ -13,6 +13,7 @@
#include <linux/mm.h>
#include <linux/bootmem.h>
+#include <linux/swap.h> /* we don't have swap, but for nr_free_pages */
#include <linux/irq.h>
#include <linux/reboot.h>
#include <linux/personality.h>
diff -ruN -X../cludes linux-2.6.2-uc0/arch/v850/kernel/v850e_cache.c linux-2.6.2-uc0-v850-20040206/arch/v850/kernel/v850e_cache.c
--- linux-2.6.2-uc0/arch/v850/kernel/v850e_cache.c 2003-07-28 10:13:58.000000000 +0900
+++ linux-2.6.2-uc0-v850-20040206/arch/v850/kernel/v850e_cache.c 2004-02-06 14:02:30.000000000 +0900
@@ -17,6 +17,7 @@
implementation. */
#include <asm/entry.h>
+#include <asm/cacheflush.h>
#include <asm/v850e_cache.h>
#define WAIT_UNTIL_CLEAR(value) while (value) {}
reply other threads:[~2004-02-06 7:57 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=20040206075447.739BB56@mcspd15 \
--to=miles@mcspd15.ucom.lsi.nec.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=miles@gnu.org \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®