Move FAULT_FLAG_xyz into handle_mm_fault() callers
[linux-2.6-block.git] / include / linux / mm.h
index cf260d848eb925edf884e4d82a8477a1f890f6f4..d006e93d5c93c3323da45ebd14d0f7920722120b 100644 (file)
@@ -810,11 +810,11 @@ extern int vmtruncate_range(struct inode * inode, loff_t offset, loff_t end);
 
 #ifdef CONFIG_MMU
 extern int handle_mm_fault(struct mm_struct *mm, struct vm_area_struct *vma,
-                       unsigned long address, int write_access);
+                       unsigned long address, unsigned int flags);
 #else
 static inline int handle_mm_fault(struct mm_struct *mm,
                        struct vm_area_struct *vma, unsigned long address,
-                       int write_access)
+                       unsigned int flags)
 {
        /* should never happen if there's no MMU */
        BUG();