projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm
[cascardo/linux.git]
/
arch
/
sparc
/
mm
/
gup.c
diff --git
a/arch/sparc/mm/gup.c
b/arch/sparc/mm/gup.c
index
eb3d8e8
..
4e06750
100644
(file)
--- a/
arch/sparc/mm/gup.c
+++ b/
arch/sparc/mm/gup.c
@@
-237,7
+237,7
@@
slow:
start += nr << PAGE_SHIFT;
pages += nr;
- ret = get_user_pages_unlocked(
current, mm,
start,
+ ret = get_user_pages_unlocked(start,
(end - start) >> PAGE_SHIFT, write, 0, pages);
/* Have to be a bit careful with return values */