mm/hugetlb: reduce arch dependent code around follow_huge_*
[deliverable/linux.git] / arch / sh / mm / hugetlbpage.c
index d7762349ea4869be1b40898a5ae7e6ff8e79c6aa..534bc978af8a58f069709cfc95f5f8c02a1a1a50 100644 (file)
@@ -67,12 +67,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 0;
@@ -82,9 +76,3 @@ int pud_huge(pud_t pud)
 {
        return 0;
 }
-
-struct page *follow_huge_pmd(struct mm_struct *mm, unsigned long address,
-                            pmd_t *pmd, int write)
-{
-       return NULL;
-}
This page took 0.027852 seconds and 5 git commands to generate.