summaryrefslogtreecommitdiffstats
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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/mm/hugetlbpage.c b/arch/sh/mm/hugetlbpage.c
index 329059d6b54a..cf2c2ee35a37 100644
--- a/arch/sh/mm/hugetlbpage.c
+++ b/arch/sh/mm/hugetlbpage.c
@@ -63,6 +63,11 @@ pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr)
return pte;
}
+int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep)
+{
+ return 0;
+}
+
struct page *follow_huge_addr(struct mm_struct *mm,
unsigned long address, int write)
{
OpenPOWER on IntegriCloud