diff options
author | Frederic Weisbecker <frederic@kernel.org> | 2024-06-21 11:15:58 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-07-09 13:26:31 +0200 |
commit | 68cbd415dd4b9c5b9df69f0f091879e56bf5907a (patch) | |
tree | 123a5658e3ff617bcef2788e7fd77973e38d4b1a /kernel/irq/manage.c | |
parent | 57e11990f45f89bc29d0f84dd7b13a4e4263eeb2 (diff) | |
download | lwn-68cbd415dd4b9c5b9df69f0f091879e56bf5907a.tar.gz lwn-68cbd415dd4b9c5b9df69f0f091879e56bf5907a.zip |
task_work: s/task_work_cancel()/task_work_cancel_func()/
A proper task_work_cancel() API that actually cancels a callback and not
*any* callback pointing to a given function is going to be needed for
perf events event freeing. Do the appropriate rename to prepare for
that.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240621091601.18227-2-frederic@kernel.org
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 71b0fc2d0aea..dd53298ef1a5 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -1337,7 +1337,7 @@ static int irq_thread(void *data) * synchronize_hardirq(). So neither IRQTF_RUNTHREAD nor the * oneshot mask bit can be set. */ - task_work_cancel(current, irq_thread_dtor); + task_work_cancel_func(current, irq_thread_dtor); return 0; } |