Loading...
1#ifndef _SPARC64_SPARSEMEM_H
2#define _SPARC64_SPARSEMEM_H
3
4#ifdef __KERNEL__
5
6#define SECTION_SIZE_BITS 30
7#define MAX_PHYSADDR_BITS 42
8#define MAX_PHYSMEM_BITS 42
9
10#endif /* !(__KERNEL__) */
11
12#endif /* !(_SPARC64_SPARSEMEM_H) */
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _SPARC64_SPARSEMEM_H
3#define _SPARC64_SPARSEMEM_H
4
5#ifdef __KERNEL__
6
7#include <asm/page.h>
8
9#define SECTION_SIZE_BITS 30
10#define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS
11
12#endif /* !(__KERNEL__) */
13
14#endif /* !(_SPARC64_SPARSEMEM_H) */