mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm
[cascardo/linux.git] / arch / sh / mm / gup.c
index e7af6a6..40fa6c8 100644 (file)
@@ -257,7 +257,7 @@ slow_irqon:
                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 */