diff options
Diffstat (limited to 'include/asm-ppc64/pgtable-4k.h')
-rw-r--r-- | include/asm-ppc64/pgtable-4k.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc64/pgtable-4k.h b/include/asm-ppc64/pgtable-4k.h index c883a2748558..e9590c06ad92 100644 --- a/include/asm-ppc64/pgtable-4k.h +++ b/include/asm-ppc64/pgtable-4k.h | |||
@@ -23,6 +23,9 @@ | |||
23 | #define PMD_SIZE (1UL << PMD_SHIFT) | 23 | #define PMD_SIZE (1UL << PMD_SHIFT) |
24 | #define PMD_MASK (~(PMD_SIZE-1)) | 24 | #define PMD_MASK (~(PMD_SIZE-1)) |
25 | 25 | ||
26 | /* With 4k base page size, hugepage PTEs go at the PMD level */ | ||
27 | #define MIN_HUGEPTE_SHIFT PMD_SHIFT | ||
28 | |||
26 | /* PUD_SHIFT determines what a third-level page table entry can map */ | 29 | /* PUD_SHIFT determines what a third-level page table entry can map */ |
27 | #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) | 30 | #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) |
28 | #define PUD_SIZE (1UL << PUD_SHIFT) | 31 | #define PUD_SIZE (1UL << PUD_SHIFT) |