diff options
Diffstat (limited to 'arch/arm/mach-integrator/include/mach')
-rw-r--r-- | arch/arm/mach-integrator/include/mach/hardware.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-integrator/include/mach/hardware.h b/arch/arm/mach-integrator/include/mach/hardware.h index 1251319ef9ae..d795642fad22 100644 --- a/arch/arm/mach-integrator/include/mach/hardware.h +++ b/arch/arm/mach-integrator/include/mach/hardware.h | |||
@@ -36,8 +36,12 @@ | |||
36 | #define PCIO_BASE PCI_IO_VADDR | 36 | #define PCIO_BASE PCI_IO_VADDR |
37 | #define PCIMEM_BASE PCI_MEMORY_VADDR | 37 | #define PCIMEM_BASE PCI_MEMORY_VADDR |
38 | 38 | ||
39 | #ifdef CONFIG_MMU | ||
39 | /* macro to get at IO space when running virtually */ | 40 | /* macro to get at IO space when running virtually */ |
40 | #define IO_ADDRESS(x) (((x) >> 4) + IO_BASE) | 41 | #define IO_ADDRESS(x) (((x) >> 4) + IO_BASE) |
42 | #else | ||
43 | #define IO_ADDRESS(x) (x) | ||
44 | #endif | ||
41 | 45 | ||
42 | #define pcibios_assign_all_busses() 1 | 46 | #define pcibios_assign_all_busses() 1 |
43 | 47 | ||