linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/7] severing uaccess.h -> sched.h
@ 2006-10-30 10:45 Al Viro
  2006-10-30 12:15 ` [PARISC] Remove sched.h from uaccess.h Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2006-10-30 10:45 UTC (permalink / raw)
  To: linux-arch; +Cc: linux-kernel, torvalds


Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 include/asm-x86_64/uaccess.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/asm-x86_64/uaccess.h b/include/asm-x86_64/uaccess.h
index 19f9917..d5dbc87 100644
--- a/include/asm-x86_64/uaccess.h
+++ b/include/asm-x86_64/uaccess.h
@@ -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>
 
-- 
1.4.2.GIT



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PARISC] Remove sched.h from uaccess.h
  2006-10-30 10:45 [PATCH 3/7] severing uaccess.h -> sched.h Al Viro
@ 2006-10-30 12:15 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2006-10-30 12:15 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-arch, linux-kernel, torvalds


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.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>

diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c
index 920bdbf..9c98ed2 100644
--- a/arch/parisc/kernel/unwind.c
+++ b/arch/parisc/kernel/unwind.c
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/kallsyms.h>
 
diff --git a/include/asm-parisc/uaccess.h b/include/asm-parisc/uaccess.h
index d973e8b..2e87e82 100644
--- a/include/asm-parisc/uaccess.h
+++ b/include/asm-parisc/uaccess.h
@@ -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>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-30 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 10:45 [PATCH 3/7] severing uaccess.h -> sched.h Al Viro
2006-10-30 12:15 ` [PARISC] Remove sched.h from uaccess.h Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).