1
2 #ifndef _ASM_POWERPC_PGTABLE_RADIX_64K_H
3 #define _ASM_POWERPC_PGTABLE_RADIX_64K_H
4
5
6
7
8 #define RADIX_PTE_INDEX_SIZE 5
9 #define RADIX_PMD_INDEX_SIZE 9
10 #define RADIX_PUD_INDEX_SIZE 9
11 #define RADIX_PGD_INDEX_SIZE 13
12
13
14
15
16
17 #define RADIX_PTE_FRAG_SIZE_SHIFT (RADIX_PTE_INDEX_SIZE + 3)
18 #define RADIX_PTE_FRAG_NR (PAGE_SIZE >> RADIX_PTE_FRAG_SIZE_SHIFT)
19
20 #define RADIX_PMD_FRAG_SIZE_SHIFT (RADIX_PMD_INDEX_SIZE + 3)
21 #define RADIX_PMD_FRAG_NR (PAGE_SIZE >> RADIX_PMD_FRAG_SIZE_SHIFT)
22
23 #endif