mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm
[deliverable/linux.git] / drivers / infiniband / hw / mthca / mthca_memfree.c
index 7d2e42dd692657319f94e1ce950545f2638d2380..6c00d04b8b2852369f4f43d78c39c68898ff4640 100644 (file)
@@ -472,8 +472,7 @@ int mthca_map_user_db(struct mthca_dev *dev, struct mthca_uar *uar,
                goto out;
        }
 
-       ret = get_user_pages(current, current->mm, uaddr & PAGE_MASK, 1, 1, 0,
-                            pages, NULL);
+       ret = get_user_pages(uaddr & PAGE_MASK, 1, 1, 0, pages, NULL);
        if (ret < 0)
                goto out;
 
This page took 0.024655 seconds and 5 git commands to generate.