Add some #includes for the v850 to eliminate some compiler warnings
PATCH v850 1/1 Add some #includes for the v850 to eliminate some compiler warnings
arch/v850/kernel/bug.c +1 -0
@@ -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>
arch/v850/kernel/setup.c +3 -2
@@ -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 <[email protected]> +* Copyright (C) 2001,02,03 NEC Electronics Corporation +* Copyright (C) 2001,02,03 Miles Bader <[email protected]> * * 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>
arch/v850/kernel/v850e_cache.c +1 -0
@@ -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) {}