diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-23 15:51:16 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-23 16:30:51 +0200 |
commit | e3978cded41dc7b364e74037f56d6bc558c11fd7 (patch) | |
tree | 32cd7333261ba93c25e8f2d5eb9c7d323c1a5b86 /arch/arm64/include | |
parent | arm64: Use pgprot_t as the last argument when invoking __ioremap() (diff) | |
download | linux-e3978cded41dc7b364e74037f56d6bc558c11fd7.tar.xz linux-e3978cded41dc7b364e74037f56d6bc558c11fd7.zip |
arm64: Move PCI_IOBASE closer to MODULES_VADDR
This is to reuse the same pmd table that is sparsely populated with
the modules space.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h index d10778fe91e5..54f6116697f7 100644 --- a/arch/arm64/include/asm/io.h +++ b/arch/arm64/include/asm/io.h @@ -114,7 +114,7 @@ static inline u64 __raw_readq(const volatile void __iomem *addr) * I/O port access primitives. */ #define IO_SPACE_LIMIT 0xffff -#define PCI_IOBASE ((void __iomem *)0xffffffbbfffe0000UL) +#define PCI_IOBASE ((void __iomem *)(MODULES_VADDR - SZ_2M)) static inline u8 inb(unsigned long addr) { |