1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2a439fe51SSam Ravnborg #ifndef _SPARC64_SPARSEMEM_H 3a439fe51SSam Ravnborg #define _SPARC64_SPARSEMEM_H 4a439fe51SSam Ravnborg 5a439fe51SSam Ravnborg #ifdef __KERNEL__ 6a439fe51SSam Ravnborg 7f998c9c0SDavid S. Miller #include <asm/page.h> 8f998c9c0SDavid S. Miller 9a439fe51SSam Ravnborg #define SECTION_SIZE_BITS 30 10f998c9c0SDavid S. Miller #define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS 11a439fe51SSam Ravnborg 12a439fe51SSam Ravnborg #endif /* !(__KERNEL__) */ 13a439fe51SSam Ravnborg 14a439fe51SSam Ravnborg #endif /* !(_SPARC64_SPARSEMEM_H) */ 15