summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2012-10-23 14:51:16 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2012-10-23 15:30:51 +0100
commite3978cded41dc7b364e74037f56d6bc558c11fd7 (patch)
tree32cd7333261ba93c25e8f2d5eb9c7d323c1a5b86 /arch/arm64
parent489f781a5936f4b90cd5c9838e0102933f6eb2b5 (diff)
downloadlinux-e3978cded41dc7b364e74037f56d6bc558c11fd7.tar.gz
linux-e3978cded41dc7b364e74037f56d6bc558c11fd7.tar.bz2
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')
-rw-r--r--arch/arm64/include/asm/io.h2
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)
{