diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-16 14:38:19 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-16 14:38:19 +0000 |
commit | ce07d90aa80a4c9a956eb2f662e4be5ea5c6baf8 (patch) | |
tree | 7411f04f6136f52b840696bf791626ae218d7a05 /include/asm-arm/arch-realview/hardware.h | |
parent | f6ff56cd56b83d8edf4b3cffc5c53c56b37a5081 (diff) |
[ARM] Fix arch-realview/system.h to use __io_address()
Move __io_address to arch-realview/hardware.h, drop core.h from platsmp.c
and localtimer.c, and include asm/io.h where required.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-realview/hardware.h')
-rw-r--r-- | include/asm-arm/arch-realview/hardware.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-realview/hardware.h b/include/asm-arm/arch-realview/hardware.h index 67879cdb6ef..9ca76dc3a7a 100644 --- a/include/asm-arm/arch-realview/hardware.h +++ b/include/asm-arm/arch-realview/hardware.h @@ -27,5 +27,6 @@ /* macro to get at IO space when running virtually */ #define IO_ADDRESS(x) (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000) +#define __io_address(n) __io(IO_ADDRESS(n)) #endif |