aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_task.h
diff options
context:
space:
mode:
authorAllen Pais <allen.lkml@gmail.com>2020-09-03 11:36:37 +0530
committerJason Gunthorpe <jgg@nvidia.com>2020-09-03 12:01:53 -0300
commit00b3c11879d790f51cac6477abe870936a2323ae (patch)
treec0df604072ce8691a6c5bf71c797c8e325ffa2ad /drivers/infiniband/sw/rxe/rxe_task.h
parentRDMA/qib: Convert tasklets to use new tasklet_setup() API (diff)
downloadlinux-dev-00b3c11879d790f51cac6477abe870936a2323ae.tar.xz
linux-dev-00b3c11879d790f51cac6477abe870936a2323ae.zip
RDMA/rxe: Convert tasklets to use new tasklet_setup() API
In preparation for unconditionally passing the struct tasklet_struct pointer to all tasklet callbacks, switch to using the new tasklet_setup() and from_tasklet() to pass the tasklet pointer explicitly. Link: https://lore.kernel.org/r/20200903060637.424458-6-allen.lkml@gmail.com Signed-off-by: Romain Perier <romain.perier@gmail.com> Signed-off-by: Allen Pais <allen.lkml@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_task.h b/drivers/infiniband/sw/rxe/rxe_task.h
index 53aa8e45cbf7..11d183fd3338 100644
--- a/drivers/infiniband/sw/rxe/rxe_task.h
+++ b/drivers/infiniband/sw/rxe/rxe_task.h
@@ -53,7 +53,7 @@ int __rxe_do_task(struct rxe_task *task);
* work to do someone must reschedule the task before
* leaving
*/
-void rxe_do_task(unsigned long data);
+void rxe_do_task(struct tasklet_struct *t);
/* run a task, else schedule it to run as a tasklet, The decision
* to run or schedule tasklet is based on the parameter sched.