diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-23 14:51:16 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-23 15:30:51 +0100 |
commit | e3978cded41dc7b364e74037f56d6bc558c11fd7 (patch) | |
tree | 32cd7333261ba93c25e8f2d5eb9c7d323c1a5b86 /arch/arm64 | |
parent | 489f781a5936f4b90cd5c9838e0102933f6eb2b5 (diff) | |
download | op-kernel-dev-e3978cded41dc7b364e74037f56d6bc558c11fd7.zip op-kernel-dev-e3978cded41dc7b364e74037f56d6bc558c11fd7.tar.gz |
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')
-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 d10778f..54f6116 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) { |