summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/sparsemem.h
blob: b58ba2d9ed6efff51a62c392f5b64c4b7d395e32 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __ASM_SPARSEMEM_H
#define __ASM_SPARSEMEM_H

#ifdef CONFIG_SPARSEMEM
#define MAX_PHYSMEM_BITS	CONFIG_PA_BITS
#define SECTION_SIZE_BITS	27
#endif /* CONFIG_SPARSEMEM */

#endif /* __ASM_SPARSEMEM_H */