summaryrefslogtreecommitdiff
path: root/arch/sh/mm/hugetlbpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/hugetlbpage.c')
-rw-r--r--arch/sh/mm/hugetlbpage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/mm/hugetlbpage.c b/arch/sh/mm/hugetlbpage.c
index cc948db74878..d2412d2d6462 100644
--- a/arch/sh/mm/hugetlbpage.c
+++ b/arch/sh/mm/hugetlbpage.c
@@ -42,7 +42,8 @@ pte_t *huge_pte_alloc(struct mm_struct *mm,
return pte;
}
-pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr)
+pte_t *huge_pte_offset(struct mm_struct *mm,
+ unsigned long addr, unsigned long sz)
{
pgd_t *pgd;
pud_t *pud;