1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _MIPS_SPARSEMEM_H 3 #define _MIPS_SPARSEMEM_H 4 #ifdef CONFIG_SPARSEMEM 5 6 /* 7 * SECTION_SIZE_BITS 2^N: how big e 8 * MAX_PHYSMEM_BITS 2^N: how much 9 */ 10 #if defined(CONFIG_MIPS_HUGE_TLB_SUPPORT) && d 11 # define SECTION_SIZE_BITS 29 12 #else 13 # define SECTION_SIZE_BITS 28 14 #endif 15 #define MAX_PHYSMEM_BITS 48 16 17 #endif /* CONFIG_SPARSEMEM */ 18 #endif /* _MIPS_SPARSEMEM_H */ 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.