* [PATCH][v850] Add some #includes for the v850 to eliminate some compiler warnings
@ 2004-02-06 7:54 Miles Bader
0 siblings, 0 replies; only message in thread
From: Miles Bader @ 2004-02-06 7:54 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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) {}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-06 7:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-06 7:54 [PATCH][v850] Add some #includes for the v850 to eliminate some compiler warnings Miles Bader
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®