aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/mm/hugetlbpage.c5
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
88int pmd_huge_support(void)
89{
90 return 1;
91}
92
88struct page * 93struct page *
89follow_huge_pmd(struct mm_struct *mm, unsigned long address, 94follow_huge_pmd(struct mm_struct *mm, unsigned long address,
90 pmd_t *pmd, int write) 95 pmd_t *pmd, int write)