summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/sparsemem.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/sparsemem.h')
-rw-r--r--arch/arm64/include/asm/sparsemem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/sparsemem.h b/arch/arm64/include/asm/sparsemem.h
index 74a9d301819f..b299929fe56c 100644
--- a/arch/arm64/include/asm/sparsemem.h
+++ b/arch/arm64/include/asm/sparsemem.h
@@ -17,7 +17,7 @@
#define __ASM_SPARSEMEM_H
#ifdef CONFIG_SPARSEMEM
-#define MAX_PHYSMEM_BITS 48
+#define MAX_PHYSMEM_BITS CONFIG_ARM64_PA_BITS
#define SECTION_SIZE_BITS 30
#endif