lkml.org 
[lkml]   [2004]   [Feb]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH][v850] Add some #includes for the v850 to eliminate some compiler warnings
DateFri, 6 Feb 2004 16:54:47 +0900 (JST)
From(Miles Bader)
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) {}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:00    [W:0.105 / U:0.870 seconds]
©2003-2008 Jasper Spaans