diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-28 15:35:50 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-28 15:35:50 +0200 |
| commit | f4a1692491b5cce8978cea19cb8946bc2c6f14bc (patch) | |
| tree | 1865126859b5b9d613c49113a5aaafc78f79b99b /include/linux/task_work.h | |
| parent | 8490d6a7e0a0a6fab5c2d82d57a3937306660864 (diff) | |
| parent | 0d7869805a82b91abdc1a56bddeaa374969af310 (diff) | |
Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes
Updating drm-misc-fixes to v5.8-rc7.
Diffstat (limited to 'include/linux/task_work.h')
| -rw-r--r-- | include/linux/task_work.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/task_work.h b/include/linux/task_work.h index bd9a6a91c097..0fb93aafa478 100644 --- a/include/linux/task_work.h +++ b/include/linux/task_work.h @@ -13,7 +13,10 @@ init_task_work(struct callback_head *twork, task_work_func_t func) twork->func = func; } -int task_work_add(struct task_struct *task, struct callback_head *twork, bool); +#define TWA_RESUME 1 +#define TWA_SIGNAL 2 +int task_work_add(struct task_struct *task, struct callback_head *twork, int); + struct callback_head *task_work_cancel(struct task_struct *, task_work_func_t); void task_work_run(void); |
