diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-29 12:35:51 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-29 13:49:55 -0500 |
commit | 87c52578bd050ba395b0cae7079b1128abd2422d (patch) | |
tree | e3b5ddbcafc52eb50e60516b0bcf7f20a51a270d /arch/arm/include | |
parent | f40b121d983dfc53bde882aadec7f2f0bbcbd1c2 (diff) |
[ARM] Remove linux/sched.h from asm/cacheflush.h and asm/uaccess.h
... and fix those drivers that were incorrectly relying upon
that include.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/cacheflush.h | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/mmu_context.h | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/uaccess.h | 3 |
3 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h index 85a2514cbffc..6cbd8fdc9f1f 100644 --- a/arch/arm/include/asm/cacheflush.h +++ b/arch/arm/include/asm/cacheflush.h | |||
@@ -10,7 +10,6 @@ | |||
10 | #ifndef _ASMARM_CACHEFLUSH_H | 10 | #ifndef _ASMARM_CACHEFLUSH_H |
11 | #define _ASMARM_CACHEFLUSH_H | 11 | #define _ASMARM_CACHEFLUSH_H |
12 | 12 | ||
13 | #include <linux/sched.h> | ||
14 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
15 | 14 | ||
16 | #include <asm/glue.h> | 15 | #include <asm/glue.h> |
diff --git a/arch/arm/include/asm/mmu_context.h b/arch/arm/include/asm/mmu_context.h index 0559f37c2a27..263fed05ea33 100644 --- a/arch/arm/include/asm/mmu_context.h +++ b/arch/arm/include/asm/mmu_context.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #define __ASM_ARM_MMU_CONTEXT_H | 14 | #define __ASM_ARM_MMU_CONTEXT_H |
15 | 15 | ||
16 | #include <linux/compiler.h> | 16 | #include <linux/compiler.h> |
17 | #include <linux/sched.h> | ||
17 | #include <asm/cacheflush.h> | 18 | #include <asm/cacheflush.h> |
18 | #include <asm/cachetype.h> | 19 | #include <asm/cachetype.h> |
19 | #include <asm/proc-fns.h> | 20 | #include <asm/proc-fns.h> |
diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h index cbb7a37e2978..7897464e0c24 100644 --- a/arch/arm/include/asm/uaccess.h +++ b/arch/arm/include/asm/uaccess.h | |||
@@ -11,7 +11,8 @@ | |||
11 | /* | 11 | /* |
12 | * User space memory access functions | 12 | * User space memory access functions |
13 | */ | 13 | */ |
14 | #include <linux/sched.h> | 14 | #include <linux/string.h> |
15 | #include <linux/thread_info.h> | ||
15 | #include <asm/errno.h> | 16 | #include <asm/errno.h> |
16 | #include <asm/memory.h> | 17 | #include <asm/memory.h> |
17 | #include <asm/domain.h> | 18 | #include <asm/domain.h> |