hugetlb: introduce generic version of huge_ptep_get_and_clear()
[muen/linux.git] / arch / x86 / include / asm / hugetlb.h
index 8db9a761964dc6bb593369f4062b8bdfbf33cec0..e9e7fef867add4dfaaf221cea9435bd01cef4a03 100644 (file)
@@ -28,12 +28,6 @@ static inline int prepare_hugepage_range(struct file *file,
        return 0;
 }
 
-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 void huge_ptep_clear_flush(struct vm_area_struct *vma,
                                         unsigned long addr, pte_t *ptep)
 {