hugetlb: introduce generic version of huge_ptep_get_and_clear()
[muen/linux.git] / arch / ia64 / include / asm / hugetlb.h
index a235d6f60fb326ec5b488a8600993a1752906a29..6719c74da0de6c04727d1cdc36d3deb440b33a04 100644 (file)
@@ -20,12 +20,6 @@ static inline int is_hugepage_only_range(struct mm_struct *mm,
                REGION_NUMBER((addr)+(len)-1) == RGN_HPAGE);
 }
 
-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)
 {