[ARM] Remove linux/sched.h from asm/cacheflush.h and asm/uaccess.h
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 29 Nov 2008 17:35:51 +0000 (17:35 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 29 Nov 2008 18:49:55 +0000 (18:49 +0000)
... and fix those drivers that were incorrectly relying upon
that include.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cacheflush.h
arch/arm/include/asm/mmu_context.h
arch/arm/include/asm/uaccess.h
arch/arm/kernel/armksyms.c
arch/arm/mm/alignment.c
drivers/watchdog/sa1100_wdt.c

index 85a2514cbffc2e9edfc7556ecc225cbd2a304ec2..6cbd8fdc9f1fee5e83ffbe50fc125242503f0bae 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef _ASMARM_CACHEFLUSH_H
 #define _ASMARM_CACHEFLUSH_H
 
-#include <linux/sched.h>
 #include <linux/mm.h>
 
 #include <asm/glue.h>
index 0559f37c2a27c09d11a378b2c8a2527ad2895d71..263fed05ea33d92ac281a58f681eb9310c3a4c50 100644 (file)
@@ -14,6 +14,7 @@
 #define __ASM_ARM_MMU_CONTEXT_H
 
 #include <linux/compiler.h>
+#include <linux/sched.h>
 #include <asm/cacheflush.h>
 #include <asm/cachetype.h>
 #include <asm/proc-fns.h>
index cbb7a37e297800ae36feb34e22bc4f32caf81989..7897464e0c24260fe002e0ffac839444c35d5079 100644 (file)
@@ -11,7 +11,8 @@
 /*
  * User space memory access functions
  */
-#include <linux/sched.h>
+#include <linux/string.h>
+#include <linux/thread_info.h>
 #include <asm/errno.h>
 #include <asm/memory.h>
 #include <asm/domain.h>
index c74f766ffc124406e56ab76918db8bdf4c1e30ec..53d0037a1e9de59c1416f8b05d152ed8aa29148f 100644 (file)
@@ -8,6 +8,7 @@
  * published by the Free Software Foundation.
  */
 #include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/cryptohash.h>
 #include <linux/delay.h>
index 133e65d166b315b0e54aba959846a162643bc927..c5a57fbf095d8ab1d11b8c54b60eb2f99ad50255 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/string.h>
 #include <linux/proc_fs.h>
 #include <linux/init.h>
+#include <linux/sched.h>
 #include <linux/uaccess.h>
 
 #include <asm/unaligned.h>
index ed01e4c2beff7bfb70c9b848e91e027c15a7a901..d6fbb46572107f86b4bab8f25afe142236c453b5 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/init.h>
 #include <linux/bitops.h>
 #include <linux/uaccess.h>
+#include <linux/timex.h>
 
 #ifdef CONFIG_ARCH_PXA
 #include <mach/pxa-regs.h>