diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-03 12:39:34 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-03 12:39:34 -0500 |
commit | 78ff18a412da24a4b79c6a97000ef5e467e813da (patch) | |
tree | 901d67dc2c709b71fba37b37b901ea167cef21a2 /include/asm-arm/arch-l7200/system.h | |
parent | 9d4f13e531b4722fe40cc8e28c02a495bdd49267 (diff) |
[ARM] Cleanup ARM includes
arch/arm/kernel/entry-armv.S has contained a comment suggesting
that asm/hardware.h and asm/arch/irqs.h should be moved into the
asm/arch/entry-macro.S include. So move the includes to these
two files as required.
Add missing includes (asm/hardware.h, asm/io.h) to asm/arch/system.h
includes which use those facilities, and remove asm/io.h from
kernel/process.c.
Remove other unnecessary includes from arch/arm/kernel, arch/arm/mm
and arch/arm/mach-footbridge.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-l7200/system.h')
-rw-r--r-- | include/asm-arm/arch-l7200/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-l7200/system.h b/include/asm-arm/arch-l7200/system.h index cb4ff29059b8..18825cf071ba 100644 --- a/include/asm-arm/arch-l7200/system.h +++ b/include/asm-arm/arch-l7200/system.h | |||
@@ -12,6 +12,8 @@ | |||
12 | #ifndef __ASM_ARCH_SYSTEM_H | 12 | #ifndef __ASM_ARCH_SYSTEM_H |
13 | #define __ASM_ARCH_SYSTEM_H | 13 | #define __ASM_ARCH_SYSTEM_H |
14 | 14 | ||
15 | #include <asm/hardware.h> | ||
16 | |||
15 | static inline void arch_idle(void) | 17 | static inline void arch_idle(void) |
16 | { | 18 | { |
17 | *(unsigned long *)(IO_BASE + 0x50004) = 1; /* idle mode */ | 19 | *(unsigned long *)(IO_BASE + 0x50004) = 1; /* idle mode */ |