xref: /openbmc/linux/arch/riscv/include/asm/sparsemem.h (revision c83eeec79ff64f777cbd59a8bd15d0a3fe1f92c0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _ASM_RISCV_SPARSEMEM_H
4 #define _ASM_RISCV_SPARSEMEM_H
5 
6 #ifdef CONFIG_SPARSEMEM
7 #define MAX_PHYSMEM_BITS	CONFIG_PA_BITS
8 #define SECTION_SIZE_BITS	27
9 #endif /* CONFIG_SPARSEMEM */
10 
11 #endif /* _ASM_RISCV_SPARSEMEM_H */
12