0001
0002 #ifndef _ASM_POWERPC_PGTABLE_RADIX_64K_H
0003 #define _ASM_POWERPC_PGTABLE_RADIX_64K_H
0004
0005
0006
0007
0008 #define RADIX_PTE_INDEX_SIZE 5
0009 #define RADIX_PMD_INDEX_SIZE 9
0010 #define RADIX_PUD_INDEX_SIZE 9
0011 #define RADIX_PGD_INDEX_SIZE 13
0012
0013
0014
0015
0016
0017 #define RADIX_PTE_FRAG_SIZE_SHIFT (RADIX_PTE_INDEX_SIZE + 3)
0018 #define RADIX_PTE_FRAG_NR (PAGE_SIZE >> RADIX_PTE_FRAG_SIZE_SHIFT)
0019
0020 #define RADIX_PMD_FRAG_SIZE_SHIFT (RADIX_PMD_INDEX_SIZE + 3)
0021 #define RADIX_PMD_FRAG_NR (PAGE_SIZE >> RADIX_PMD_FRAG_SIZE_SHIFT)
0022
0023 #endif