xref: /linux/arch/alpha/include/asm/sparsemem.h (revision 662fa3d6099374c4615bf64d06895e3573b935b2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_ALPHA_SPARSEMEM_H
3 #define _ASM_ALPHA_SPARSEMEM_H
4 
5 #ifdef CONFIG_SPARSEMEM
6 
7 #define SECTION_SIZE_BITS	27
8 
9 /*
10  * According to "Alpha Architecture Reference Manual" physical
11  * addresses are at most 48 bits.
12  * https://download.majix.org/dec/alpha_arch_ref.pdf
13  */
14 #define MAX_PHYSMEM_BITS	48
15 
16 #endif /* CONFIG_SPARSEMEM */
17 
18 #endif /* _ASM_ALPHA_SPARSEMEM_H */
19