summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/sparsemem.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/sparsemem.h')
-rw-r--r--arch/riscv/include/asm/sparsemem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/sparsemem.h b/arch/riscv/include/asm/sparsemem.h
index 63acaecc3374..2f901a410586 100644
--- a/arch/riscv/include/asm/sparsemem.h
+++ b/arch/riscv/include/asm/sparsemem.h
@@ -7,7 +7,7 @@
#ifdef CONFIG_64BIT
#define MAX_PHYSMEM_BITS 56
#else
-#define MAX_PHYSMEM_BITS 34
+#define MAX_PHYSMEM_BITS 32
#endif /* CONFIG_64BIT */
#define SECTION_SIZE_BITS 27
#endif /* CONFIG_SPARSEMEM */