aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
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/arm/kernel
parentdma-mapping: move the NEED_DMA_MAP_STATE config symbol to lib/Kconfig (diff)
downloadlinux-dev-d4a451d5fc849f9a0a133255ed197b148fc323d0.tar.xz
linux-dev-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/arm/kernel')
-rw-r--r--arch/arm/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index fc40a2b40595..35ca494c028c 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -754,7 +754,7 @@ int __init arm_add_memory(u64 start, u64 size)
else
size -= aligned_start - start;
-#ifndef CONFIG_ARCH_PHYS_ADDR_T_64BIT
+#ifndef CONFIG_PHYS_ADDR_T_64BIT
if (aligned_start > ULONG_MAX) {
pr_crit("Ignoring memory at 0x%08llx outside 32-bit physical address space\n",
(long long)start);