Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / arch / mips / mm / gup.c
index 6cdffc76735c55a7e038502aef2afd1290762e03..42d124fb6474477c896e4618713e5b6d65d6e8f3 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 */