18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _SPARC64_SPARSEMEM_H 38c2ecf20Sopenharmony_ci#define _SPARC64_SPARSEMEM_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifdef __KERNEL__ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <asm/page.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#define SECTION_SIZE_BITS 30 108c2ecf20Sopenharmony_ci#define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#endif /* !(__KERNEL__) */ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#endif /* !(_SPARC64_SPARSEMEM_H) */ 15