summaryrefslogtreecommitdiff
path: root/arch/metag/mm/hugetlbpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/metag/mm/hugetlbpage.c')
-rw-r--r--arch/metag/mm/hugetlbpage.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/metag/mm/hugetlbpage.c b/arch/metag/mm/hugetlbpage.c
index 3c32075d2945..7ca80ac42ed5 100644
--- a/arch/metag/mm/hugetlbpage.c
+++ b/arch/metag/mm/hugetlbpage.c
@@ -94,12 +94,6 @@ 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)
-{
- return ERR_PTR(-EINVAL);
-}
-
int pmd_huge(pmd_t pmd)
{
return pmd_page_shift(pmd) > PAGE_SHIFT;