RDMA: Update workqueue usage
[linux-3.10.git] / drivers / infiniband / hw / ipath / ipath_user_pages.c
index 5e86d73..bab9f74 100644 (file)
@@ -220,7 +220,7 @@ void ipath_release_user_pages_on_close(struct page **p, size_t num_pages)
        work->mm = mm;
        work->num_pages = num_pages;
 
-       schedule_work(&work->work);
+       queue_work(ib_wq, &work->work);
        return;
 
 bail_mm: