Commit bacb63a9 authored by Miles Bader's avatar Miles Bader Committed by Linus Torvalds

[PATCH] Update v850 includes for slimmed-down sched.h

Adds extra includes needed because sched.h doesn't include them anymore,
and removes includes of sched.h where they're not really necessary.
parent 8f309a3f
......@@ -21,7 +21,6 @@
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/random.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <asm/system.h>
......
......@@ -13,6 +13,7 @@
* which was derived from the i386 version, linux/arch/i386/kernel/semaphore.c
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <asm/semaphore.h>
......
......@@ -11,7 +11,6 @@
* Written by Miles Bader <miles@gnu.org>
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <linux/irq.h>
......
......@@ -15,7 +15,6 @@
* This file was derived from the sh version, arch/sh/kernel/signal.c
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
......
......@@ -17,7 +17,6 @@
#include <linux/config.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
......
......@@ -12,7 +12,6 @@
#include <linux/config.h> /* CONFIG_HEARTBEAT */
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
......
#ifndef __V850_MMU_CONTEXT_H__
#define __V850_MMU_CONTEXT_H__
#include <linux/sched.h>
#define destroy_context(mm) ((void)0)
#define init_new_context(tsk,mm) 0
#define switch_mm(prev,next,tsk,cpu) ((void)0)
......
......@@ -4,7 +4,9 @@
/*
* User space memory access functions
*/
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <asm/segment.h>
#include <asm/machdep.h>
......
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