mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm
[cascardo/linux.git] / arch / sparc / mm / gup.c
index eb3d8e8..4e06750 100644 (file)
@@ -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 */