[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>
This commit is contained in:
Russell King 2008-11-29 17:35:51 +00:00 committed by Russell King
parent f40b121d98
commit 87c52578bd
6 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,6 @@
#ifndef _ASMARM_CACHEFLUSH_H #ifndef _ASMARM_CACHEFLUSH_H
#define _ASMARM_CACHEFLUSH_H #define _ASMARM_CACHEFLUSH_H
#include <linux/sched.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <asm/glue.h> #include <asm/glue.h>

View File

@ -14,6 +14,7 @@
#define __ASM_ARM_MMU_CONTEXT_H #define __ASM_ARM_MMU_CONTEXT_H
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/sched.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/cachetype.h> #include <asm/cachetype.h>
#include <asm/proc-fns.h> #include <asm/proc-fns.h>

View File

@ -11,7 +11,8 @@
/* /*
* User space memory access functions * User space memory access functions
*/ */
#include <linux/sched.h> #include <linux/string.h>
#include <linux/thread_info.h>
#include <asm/errno.h> #include <asm/errno.h>
#include <asm/memory.h> #include <asm/memory.h>
#include <asm/domain.h> #include <asm/domain.h>

View File

@ -8,6 +8,7 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/sched.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/cryptohash.h> #include <linux/cryptohash.h>
#include <linux/delay.h> #include <linux/delay.h>

View File

@ -17,6 +17,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sched.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>

View File

@ -27,6 +27,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/timex.h>
#ifdef CONFIG_ARCH_PXA #ifdef CONFIG_ARCH_PXA
#include <mach/pxa-regs.h> #include <mach/pxa-regs.h>