mm: replace access_process_vm() write parameter with gup_flags
[linux-2.6-block.git] / include / linux / mm.h
index f31bf90585875b3790e6e69f768446455cb42d77..ffbd72979ee70fc3a73a2e660fd50f98b3eacc9a 100644 (file)
@@ -1266,7 +1266,8 @@ static inline int fixup_user_fault(struct task_struct *tsk,
 }
 #endif
 
-extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write);
+extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len,
+               unsigned int gup_flags);
 extern int access_remote_vm(struct mm_struct *mm, unsigned long addr,
                void *buf, int len, unsigned int gup_flags);