OSDN Git Service

arch: define the ARCH_DMA_ADDR_T_64BIT config symbol in lib/Kconfig
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Apr 2018 14:26:52 +0000 (16:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 May 2018 04:57:04 +0000 (06:57 +0200)
commit4965a68780c5ccad4082434e264953fba0f9bcf6
treeac41ea46126ea2c1852e66d89c0f2e7fb2c4dcb2
parentd4a451d5fc849f9a0a133255ed197b148fc323d0
arch: define the ARCH_DMA_ADDR_T_64BIT config symbol in lib/Kconfig

Define this symbol if the architecture either uses 64-bit pointers or the
PHYS_ADDR_T_64BIT is set.  This covers 95% of the old arch magic.  We only
need an additional select for Xen on ARM (why anyway?), and we now always
set ARCH_DMA_ADDR_T_64BIT on mips boards with 64-bit physical addressing
instead of only doing it when highmem is set.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: James Hogan <jhogan@kernel.org>
19 files changed:
arch/alpha/Kconfig
arch/arc/Kconfig
arch/arm/mach-axxia/Kconfig
arch/arm/mach-bcm/Kconfig
arch/arm/mach-exynos/Kconfig
arch/arm/mach-highbank/Kconfig
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-tegra/Kconfig
arch/arm/mm/Kconfig
arch/arm64/Kconfig
arch/ia64/Kconfig
arch/mips/Kconfig
arch/powerpc/Kconfig
arch/riscv/Kconfig
arch/s390/Kconfig
arch/sparc/Kconfig
arch/x86/Kconfig
lib/Kconfig