diff options
| author | Frederic Weisbecker <[email protected]> | 2024-06-21 11:15:58 +0200 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2024-07-09 13:26:31 +0200 |
| commit | 68cbd415dd4b9c5b9df69f0f091879e56bf5907a (patch) | |
| tree | 123a5658e3ff617bcef2788e7fd77973e38d4b1a /include/linux | |
| parent | 57e11990f45f89bc29d0f84dd7b13a4e4263eeb2 (diff) | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/task_work.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/task_work.h b/include/linux/task_work.h index 795ef5a68429..23ab01ae185e 100644 --- a/include/linux/task_work.h +++ b/include/linux/task_work.h @@ -30,7 +30,7 @@ int task_work_add(struct task_struct *task, struct callback_head *twork, struct callback_head *task_work_cancel_match(struct task_struct *task, bool (*match)(struct callback_head *, void *data), void *data); -struct callback_head *task_work_cancel(struct task_struct *, task_work_func_t); +struct callback_head *task_work_cancel_func(struct task_struct *, task_work_func_t); void task_work_run(void); static inline void exit_task_work(struct task_struct *task) |