Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / arch / riscv / include / asm / sparsemem.h
blob45a7018a8118b911bedddbc39b984031657300ca
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef _ASM_RISCV_SPARSEMEM_H
4 #define _ASM_RISCV_SPARSEMEM_H
6 #ifdef CONFIG_SPARSEMEM
7 #define MAX_PHYSMEM_BITS CONFIG_PA_BITS
8 #define SECTION_SIZE_BITS 27
9 #endif /* CONFIG_SPARSEMEM */
11 #endif /* _ASM_RISCV_SPARSEMEM_H */