Skip to contentSkip to conversation

severing uaccess.h -> sched.h

PATCH In review Al Viro 2 participants 2 messages Oct 30, 2006

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 3/7 severing uaccess.h -> sched.h

---
 include/asm-x86_64/uaccess.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
include/asm-x86_64/uaccess.h +0 -1
index 19f9917..d5dbc87 100644
@@ -6,7 +6,6 @@ #define __X86_64_UACCESS_H
  */
 #include <linux/compiler.h>
 #include <linux/errno.h>
-#include <linux/sched.h>
 #include <linux/prefetch.h>
 #include <asm/page.h>
 
Signature · 1 line
1.4.2.GIT
#1 lore raw

[PARISC] Remove sched.h from uaccess.h

Al Viro has done the same thing to x86-64 and reduced the number of files which depend on sched.h. We had a missing dependency on sched.h in unwind.c so add the include there.

arch/parisc/kernel/unwind.c +1 -0
index 920bdbf..9c98ed2 100644
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/kallsyms.h>
 
include/asm-parisc/uaccess.h +0 -1
index d973e8b..2e87e82 100644
@@ -4,7 +4,6 @@ #define __PARISC_UACCESS_H
 /*
  * User space memory access functions
  */
-#include <linux/sched.h>
 #include <asm/page.h>
 #include <asm/system.h>
 #include <asm/cache.h>