aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/Kconfig
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/x86/Kconfig
parentdma-mapping: move the NEED_DMA_MAP_STATE config symbol to lib/Kconfig (diff)
downloadwireguard-linux-d4a451d5fc849f9a0a133255ed197b148fc323d0.tar.xz
wireguard-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/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 06eea9bffecb..79586654ea54 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1451,6 +1451,7 @@ config HIGHMEM
config X86_PAE
bool "PAE (Physical Address Extension) Support"
depends on X86_32 && !HIGHMEM4G
+ select PHYS_ADDR_T_64BIT
select SWIOTLB
---help---
PAE is required for NX support, and furthermore enables
@@ -1478,10 +1479,6 @@ config X86_5LEVEL
Say N if unsure.
-config ARCH_PHYS_ADDR_T_64BIT
- def_bool y
- depends on X86_64 || X86_PAE
-
config ARCH_DMA_ADDR_T_64BIT
def_bool y
depends on X86_64 || HIGHMEM64G