aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/util.c')
-rw-r--r--mm/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/util.c b/mm/util.c
index 662cddf914af..4c685bde5ebc 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -283,7 +283,8 @@ EXPORT_SYMBOL_GPL(__get_user_pages_fast);
283int __weak get_user_pages_fast(unsigned long start, 283int __weak get_user_pages_fast(unsigned long start,
284 int nr_pages, int write, struct page **pages) 284 int nr_pages, int write, struct page **pages)
285{ 285{
286 return get_user_pages_unlocked(start, nr_pages, write, 0, pages); 286 return get_user_pages_unlocked(start, nr_pages, pages,
287 write ? FOLL_WRITE : 0);
287} 288}
288EXPORT_SYMBOL_GPL(get_user_pages_fast); 289EXPORT_SYMBOL_GPL(get_user_pages_fast);
289 290