aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 679300c050f5..46150c66318e 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -965,6 +965,10 @@ static inline int handle_mm_fault(struct mm_struct *mm,
965extern int make_pages_present(unsigned long addr, unsigned long end); 965extern int make_pages_present(unsigned long addr, unsigned long end);
966extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write); 966extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write);
967 967
968int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
969 unsigned long start, int len, unsigned int foll_flags,
970 struct page **pages, struct vm_area_struct **vmas,
971 int *nonblocking);
968int get_user_pages(struct task_struct *tsk, struct mm_struct *mm, 972int get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
969 unsigned long start, int nr_pages, int write, int force, 973 unsigned long start, int nr_pages, int write, int force,
970 struct page **pages, struct vm_area_struct **vmas); 974 struct page **pages, struct vm_area_struct **vmas);