Commit 67ebb5be authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] v850: Add some #includes for the v850 to eliminate some compiler warnings

From: <miles@mcspd15.ucom.lsi.nec.co.jp> (Miles Bader)

Add some #includes for the v850 to eliminate some compiler warnings
parent 2724a14b
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/reboot.h> #include <linux/reboot.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/module.h>
#include <asm/errno.h> #include <asm/errno.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
......
/* /*
* arch/v850/kernel/setup.c -- Arch-dependent initialization functions * arch/v850/kernel/setup.c -- Arch-dependent initialization functions
* *
* Copyright (C) 2001,02 NEC Corporation * Copyright (C) 2001,02,03 NEC Electronics Corporation
* Copyright (C) 2001,02 Miles Bader <miles@gnu.org> * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
* *
* This file is subject to the terms and conditions of the GNU General * 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 * Public License. See the file COPYING in the main directory of this
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/bootmem.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/irq.h>
#include <linux/reboot.h> #include <linux/reboot.h>
#include <linux/personality.h> #include <linux/personality.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
implementation. */ implementation. */
#include <asm/entry.h> #include <asm/entry.h>
#include <asm/cacheflush.h>
#include <asm/v850e_cache.h> #include <asm/v850e_cache.h>
#define WAIT_UNTIL_CLEAR(value) while (value) {} #define WAIT_UNTIL_CLEAR(value) while (value) {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment