mm: implement access_remote_vm
[firefly-linux-kernel-4.4.55.git] / include / linux / mm.h
index 9d6efefdde506b0bf08ec0d9ef649117ba195d89..60011d26bffc33e2092bba9b9333e2468c613f06 100644 (file)
@@ -971,6 +971,8 @@ static inline int handle_mm_fault(struct mm_struct *mm,
 
 extern int make_pages_present(unsigned long addr, unsigned long end);
 extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write);
+extern int access_remote_vm(struct mm_struct *mm, unsigned long addr,
+               void *buf, int len, int write);
 
 int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
                     unsigned long start, int len, unsigned int foll_flags,