hugetlb: introduce generic version of huge_ptep_get_and_clear()
[muen/linux.git] / arch / arm / include / asm / hugetlb-3level.h
index 398fb06e82077f52673c381d5e56c7fc7340f8ce..ad36e84b819a9f92ba2e06ba8e0582a1e4d3dd42 100644 (file)
@@ -49,12 +49,6 @@ static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
        ptep_set_wrprotect(mm, addr, ptep);
 }
 
-static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
-                                           unsigned long addr, pte_t *ptep)
-{
-       return ptep_get_and_clear(mm, addr, ptep);
-}
-
 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma,
                                             unsigned long addr, pte_t *ptep,
                                             pte_t pte, int dirty)