hugetlb: introduce generic version of huge_ptep_set_wrprotect()
[muen/linux.git] / arch / ia64 / include / asm / hugetlb.h
index cbe296271030eef7b69b331287368f3d60a1b5a7..49d1f7949f3a58a0c0af308be882de8520ad52a5 100644 (file)
@@ -27,12 +27,6 @@ static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
 {
 }
 
-static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
-                                          unsigned long addr, pte_t *ptep)
-{
-       ptep_set_wrprotect(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)