hugetlb: introduce generic version of huge_ptep_set_wrprotect()
[muen/linux.git] / arch / sparc / include / asm / hugetlb.h
index 2101ea217f33f1887cfd97268eca8f61a729eb00..c41754a113f360a9b3aa4047269a1deec372abd2 100644 (file)
@@ -32,6 +32,7 @@ static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
 {
 }
 
+#define __HAVE_ARCH_HUGE_PTEP_SET_WRPROTECT
 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
                                           unsigned long addr, pte_t *ptep)
 {