hugetlb: introduce generic version of huge_ptep_set_wrprotect()
[muen/linux.git] / arch / sh / include / asm / hugetlb.h
index f1bbd255ee4386745a5ab160f4038b15c7c334c2..8df4004977b9c0a9ce663632566fc6167eb20eed 100644 (file)
@@ -32,12 +32,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)