mm/hugetlb: reduce arch dependent code around follow_huge_*
[deliverable/linux.git] / arch / sparc / mm / hugetlbpage.c
index d329537739c6f39bb1aa8fa0b7b21d3d4c7ed52c..4242eab12e10738e8bdbf6117f7be26d45528a48 100644 (file)
@@ -215,12 +215,6 @@ pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
        return entry;
 }
 
-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;
@@ -230,9 +224,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.025533 seconds and 5 git commands to generate.