diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mm/hugetlbpage.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/mm/hugetlbpage.c b/arch/mips/mm/hugetlbpage.c index a7fee0dfb7a9..01fda4419ed0 100644 --- a/arch/mips/mm/hugetlbpage.c +++ b/arch/mips/mm/hugetlbpage.c | |||
@@ -85,6 +85,11 @@ int pud_huge(pud_t pud) | |||
85 | return (pud_val(pud) & _PAGE_HUGE) != 0; | 85 | return (pud_val(pud) & _PAGE_HUGE) != 0; |
86 | } | 86 | } |
87 | 87 | ||
88 | int pmd_huge_support(void) | ||
89 | { | ||
90 | return 1; | ||
91 | } | ||
92 | |||
88 | struct page * | 93 | struct page * |
89 | follow_huge_pmd(struct mm_struct *mm, unsigned long address, | 94 | follow_huge_pmd(struct mm_struct *mm, unsigned long address, |
90 | pmd_t *pmd, int write) | 95 | pmd_t *pmd, int write) |