diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-01-14 14:59:37 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-04-29 13:04:15 -0400 |
commit | a285edcf18b8838814d645c7e411a337a825236e (patch) | |
tree | ce13257ff0d6da7896088732bba59e3a2ebe4658 /arch/arm/mach-integrator/include | |
parent | 28d7f4ec98a8edb029ef24c1ee4af6a1ccbc9633 (diff) |
ARM: Fix Versatile&Integrator includes to behave in the same way as Realview
Realview doesn't include mach/platform.h in mach/hardware.h, so
make versatile behave in the same way. Also, move the definition
of __io_address() into mach/hardware.h, just like Realview.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-integrator/include')
-rw-r--r-- | arch/arm/mach-integrator/include/mach/entry-macro.S | 1 | ||||
-rw-r--r-- | arch/arm/mach-integrator/include/mach/hardware.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/include/mach/entry-macro.S b/arch/arm/mach-integrator/include/mach/entry-macro.S index 7649c57acb53..3d029c9f3ef6 100644 --- a/arch/arm/mach-integrator/include/mach/entry-macro.S +++ b/arch/arm/mach-integrator/include/mach/entry-macro.S | |||
@@ -8,6 +8,7 @@ | |||
8 | * warranty of any kind, whether express or implied. | 8 | * warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | #include <mach/hardware.h> | 10 | #include <mach/hardware.h> |
11 | #include <mach/platform.h> | ||
11 | #include <mach/irqs.h> | 12 | #include <mach/irqs.h> |
12 | 13 | ||
13 | .macro disable_fiq | 14 | .macro disable_fiq |
diff --git a/arch/arm/mach-integrator/include/mach/hardware.h b/arch/arm/mach-integrator/include/mach/hardware.h index d795642fad22..d44af7209b48 100644 --- a/arch/arm/mach-integrator/include/mach/hardware.h +++ b/arch/arm/mach-integrator/include/mach/hardware.h | |||
@@ -23,7 +23,6 @@ | |||
23 | #define __ASM_ARCH_HARDWARE_H | 23 | #define __ASM_ARCH_HARDWARE_H |
24 | 24 | ||
25 | #include <asm/sizes.h> | 25 | #include <asm/sizes.h> |
26 | #include <mach/platform.h> | ||
27 | 26 | ||
28 | /* | 27 | /* |
29 | * Where in virtual memory the IO devices (timers, system controllers | 28 | * Where in virtual memory the IO devices (timers, system controllers |
@@ -48,5 +47,7 @@ | |||
48 | #define PCIBIOS_MIN_IO 0x6000 | 47 | #define PCIBIOS_MIN_IO 0x6000 |
49 | #define PCIBIOS_MIN_MEM 0x00100000 | 48 | #define PCIBIOS_MIN_MEM 0x00100000 |
50 | 49 | ||
50 | #define __io_address(n) ((void __iomem *)IO_ADDRESS(n)) | ||
51 | |||
51 | #endif | 52 | #endif |
52 | 53 | ||