projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: replace get_user_pages_unlocked() write/force parameters with gup_flags
[linux-2.6-block.git]
/
arch
/
mips
/
mm
/
gup.c
diff --git
a/arch/mips/mm/gup.c
b/arch/mips/mm/gup.c
index 42d124fb6474477c896e4618713e5b6d65d6e8f3..d8c3c159289a2953b8ae495a1da34d27d095b161 100644
(file)
--- a/
arch/mips/mm/gup.c
+++ b/
arch/mips/mm/gup.c
@@
-287,7
+287,7
@@
slow_irqon:
pages += nr;
ret = get_user_pages_unlocked(start, (end - start) >> PAGE_SHIFT,
-
write, 0, pages
);
+
pages, write ? FOLL_WRITE : 0
);
/* Have to be a bit careful with return values */
if (nr > 0) {