diff options
| author | 2021-05-18 09:45:08 +0300 | |
|---|---|---|
| committer | 2021-05-18 09:45:08 +0300 | |
| commit | 85ebe5aeef9b0bf4c91ff91652b32f9c54f71d34 (patch) | |
| tree | dc6b176404218efac28a4a1a0c240cb36f1e9173 /include/linux/task_work.h | |
| parent | Merge branch 'omap-for-v5.13/ti-sysc' into fixes (diff) | |
| parent | ARM: OMAP2+: Fix build warning when mmc_omap is not built (diff) | |
| download | linux-dev-85ebe5aeef9b0bf4c91ff91652b32f9c54f71d34.tar.xz linux-dev-85ebe5aeef9b0bf4c91ff91652b32f9c54f71d34.zip | |
Merge branch 'fixes-rc1' into fixes
Diffstat (limited to 'include/linux/task_work.h')
| -rw-r--r-- | include/linux/task_work.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/task_work.h b/include/linux/task_work.h index 0d848a1e9e62..5b8a93f288bb 100644 --- a/include/linux/task_work.h +++ b/include/linux/task_work.h @@ -22,6 +22,8 @@ enum task_work_notify_mode { int task_work_add(struct task_struct *task, struct callback_head *twork, enum task_work_notify_mode mode); +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); void task_work_run(void); |
