[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20061030121521.GA10235@parisc-linux.org>
Date: Mon, 30 Oct 2006 05:15:21 -0700
From: Matthew Wilcox <matthew@....cx>
To: Al Viro <viro@....linux.org.uk>
Cc: linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
torvalds@...l.org
Subject: [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.
Signed-off-by: Matthew Wilcox <matthew@....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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists