Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_ALPHA_SPARSEMEM_H
0003 #define _ASM_ALPHA_SPARSEMEM_H
0004 
0005 #ifdef CONFIG_SPARSEMEM
0006 
0007 #define SECTION_SIZE_BITS   27
0008 
0009 /*
0010  * According to "Alpha Architecture Reference Manual" physical
0011  * addresses are at most 48 bits.
0012  * https://download.majix.org/dec/alpha_arch_ref.pdf
0013  */
0014 #define MAX_PHYSMEM_BITS    48
0015 
0016 #endif /* CONFIG_SPARSEMEM */
0017 
0018 #endif /* _ASM_ALPHA_SPARSEMEM_H */