]> git.hungrycats.org Git - linux/commitdiff
[PATCH] v850: Add some #includes for the v850 to eliminate some compiler warnings
authorAndrew Morton <akpm@osdl.org>
Sun, 8 Feb 2004 01:41:12 +0000 (17:41 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 8 Feb 2004 01:41:12 +0000 (17:41 -0800)
From: <miles@mcspd15.ucom.lsi.nec.co.jp> (Miles Bader)

Add some #includes for the v850 to eliminate some compiler warnings

arch/v850/kernel/bug.c
arch/v850/kernel/setup.c
arch/v850/kernel/v850e_cache.c

index 5430c7101eafb054b194b6dd3bd8c2d1e969681a..c78cf750915a8a378ee67334cc021b406ec9c7c9 100644 (file)
@@ -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>
index 86be83f3388efdbb970f2b3e87100c2145c36aa2..960802a756aef248f3685e0df098e8ad66ba68cf 100644 (file)
@@ -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>
index 6ab5cee48ddd4d64a4df26f9d7a392de7fbd7776..ea3e51cfb25985335be38d95c3458e2eba9e0eca 100644 (file)
@@ -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) {}