Merge tag 'docs-5.11-2' of git://git.lwn.net/linux
[linux-2.6-microblaze.git] / arch / alpha / include / asm / sparsemem.h
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 */