]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[PARISC] Remove sched.h from uaccess.h on parisc
authorMatthew Wilcox <matthew@wil.cx>
Fri, 15 Dec 2006 16:34:36 +0000 (09:34 -0700)
committerKyle McMartin <kyle@athena.road.mcmartin.ca>
Sat, 17 Feb 2007 05:44:30 +0000 (00:44 -0500)
Al Viro did this for x86-64 and reduced the number of dependencies on
sched.h significantly.  We had a couple of files which were relying on
uaccess.h pulling in sched.h, so they need explicit dependencies added.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/unaligned.c
arch/parisc/kernel/unwind.c
include/asm-parisc/uaccess.h

index bd2230d6a2a69645352eb4b1c8c71b7a4115b5a5..58ca443100a2bc0362c9947112257a5d18d90cc8 100644 (file)
  *
  */
 
+#include <linux/jiffies.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/sched.h>
+#include <linux/signal.h>
 #include <asm/uaccess.h>
 
 /* #define DEBUG_UNALIGNED 1 */
index c10ab47d81fabc434f1e938194ee5a4fe92c523c..5f75b3e65986d8b9f96a7830f92fd23bde79dffd 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/kallsyms.h>
 
index d973e8b3466ca805afbdf52a846211434f2e8269..2e87e823600a19332ae18f6f455e35fa14282786 100644 (file)
@@ -4,7 +4,6 @@
 /*
  * User space memory access functions
  */
-#include <linux/sched.h>
 #include <asm/page.h>
 #include <asm/system.h>
 #include <asm/cache.h>