mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm
[deliverable/linux.git] / arch / mips / mm / gup.c
index 1afd87c999b0c22f1ab08508a233126b5d6d9f2b..982e83f9d11f288bdb24860e0fe8edcf72d68c5a 100644 (file)
@@ -286,8 +286,7 @@ slow_irqon:
        start += nr << PAGE_SHIFT;
        pages += nr;
 
-       ret = get_user_pages_unlocked(current, mm, start,
-                                     (end - start) >> PAGE_SHIFT,
+       ret = get_user_pages_unlocked(start, (end - start) >> PAGE_SHIFT,
                                      write, 0, pages);
 
        /* Have to be a bit careful with return values */
This page took 0.044783 seconds and 5 git commands to generate.