summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-03 16:24:20 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-09 06:56:33 +0200
commitd4a451d5fc849f9a0a133255ed197b148fc323d0 (patch)
tree5df9dea42ff522437448e559b6a9397caa91613a /arch/riscv
parentf616ab59c294b6ea6efa94f6139ea3eda2f52be0 (diff)
downloadlinux-d4a451d5fc849f9a0a133255ed197b148fc323d0.tar.gz
linux-d4a451d5fc849f9a0a133255ed197b148fc323d0.tar.bz2
linux-d4a451d5fc849f9a0a133255ed197b148fc323d0.zip
arch: remove the ARCH_PHYS_ADDR_T_64BIT config symbol
Instead select the PHYS_ADDR_T_64BIT for 32-bit architectures that need a 64-bit phys_addr_t type directly. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a951ee1f1915..1b4b722b4496 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -5,6 +5,8 @@
config RISCV
def_bool y
+ # even on 32-bit, physical (and DMA) addresses are > 32-bits
+ select PHYS_ADDR_T_64BIT
select OF
select OF_EARLY_FLATTREE
select OF_IRQ
@@ -38,10 +40,6 @@ config RISCV
config MMU
def_bool y
-# even on 32-bit, physical (and DMA) addresses are > 32-bits
-config ARCH_PHYS_ADDR_T_64BIT
- def_bool y
-
config ZONE_DMA32
bool
default y