diff options
Diffstat (limited to 'include/linux/hugetlb.h')
-rw-r--r-- | include/linux/hugetlb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index 503099d8aada..b857fc8cc2ec 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h | |||
@@ -122,7 +122,7 @@ struct page *follow_huge_pmd(struct mm_struct *mm, unsigned long address, | |||
122 | struct page *follow_huge_pud(struct mm_struct *mm, unsigned long address, | 122 | struct page *follow_huge_pud(struct mm_struct *mm, unsigned long address, |
123 | pud_t *pud, int flags); | 123 | pud_t *pud, int flags); |
124 | int pmd_huge(pmd_t pmd); | 124 | int pmd_huge(pmd_t pmd); |
125 | int pud_huge(pud_t pmd); | 125 | int pud_huge(pud_t pud); |
126 | unsigned long hugetlb_change_protection(struct vm_area_struct *vma, | 126 | unsigned long hugetlb_change_protection(struct vm_area_struct *vma, |
127 | unsigned long address, unsigned long end, pgprot_t newprot); | 127 | unsigned long address, unsigned long end, pgprot_t newprot); |
128 | 128 | ||
@@ -197,6 +197,9 @@ static inline void __unmap_hugepage_range(struct mmu_gather *tlb, | |||
197 | #ifndef pgd_huge | 197 | #ifndef pgd_huge |
198 | #define pgd_huge(x) 0 | 198 | #define pgd_huge(x) 0 |
199 | #endif | 199 | #endif |
200 | #ifndef p4d_huge | ||
201 | #define p4d_huge(x) 0 | ||
202 | #endif | ||
200 | 203 | ||
201 | #ifndef pgd_write | 204 | #ifndef pgd_write |
202 | static inline int pgd_write(pgd_t pgd) | 205 | static inline int pgd_write(pgd_t pgd) |