]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Update v850 includes for slimmed-down sched.h
authorMiles Bader <miles@lsi.nec.co.jp>
Fri, 20 Dec 2002 14:18:12 +0000 (06:18 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 20 Dec 2002 14:18:12 +0000 (06:18 -0800)
Adds extra includes needed because sched.h doesn't include them anymore,
and removes includes of sched.h where they're not really necessary.

arch/v850/kernel/irq.c
arch/v850/kernel/semaphore.c
arch/v850/kernel/setup.c
arch/v850/kernel/signal.c
arch/v850/kernel/syscalls.c
arch/v850/kernel/time.c
include/asm-v850/mmu_context.h
include/asm-v850/uaccess.h

index 4b5beb214172373154b5f0aad28cc417e63b39fd..bfd89a71181b446715d87a631385a3273937d819 100644 (file)
@@ -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>
index 636fc96b65b08d30dae231b7939e75f21841c6ca..b78d714384db55b6b00f89b60c77ec91a0e0b91d 100644 (file)
@@ -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>
index 9100ec7f6ed766852fbd4953eca13aab1937ccc2..86be83f3388efdbb970f2b3e87100c2145c36aa2 100644 (file)
@@ -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>
index bab85ab908b66709612e5c6335751d256fe1d0f6..ff96dd9de7c4f4412efa3be72b6fb194573e6e30 100644 (file)
@@ -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>
index 7082ba043b8b604a5626f68072cee5271bc6a7ed..40f17546696e27d3b9a47c78c4ae6aa50c68e145 100644 (file)
@@ -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>
index b4dace285da46d2cf4272f71371c354465898482..7d65183a95e928a260387583b7da5de942129750 100644 (file)
@@ -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>
index cfc839054a4d5429fab19e299e004f07730f9a16..2acc89920d05f9b3631a0837a834d4f420018e10 100644 (file)
@@ -1,8 +1,6 @@
 #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)
index 201dd9b328d0a464a184cc57564700d4c120096a..1db90103b7ed645acf002aeb9063f4a3df327d78 100644 (file)
@@ -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>