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