summaryrefslogtreecommitdiff
path: root/arch/mips/mm/gup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/gup.c')
-rw-r--r--arch/mips/mm/gup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/mm/gup.c b/arch/mips/mm/gup.c
index 1afd87c999b0..982e83f9d11f 100644
--- a/arch/mips/mm/gup.c
+++ b/arch/mips/mm/gup.c
@@ -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 */