summaryrefslogtreecommitdiff
path: root/include/linux/task_work.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-10-25 15:24:08 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2024-10-25 15:24:08 +0200
commitfc5ced75d6dffc9e2a441520b7dc587b95281f86 (patch)
tree9b24b900aeb4d8174677204b7aa171d4a8afd98c /include/linux/task_work.h
parenta85df8c7b5ee2d3d4823befada42c5c41aff4cb0 (diff)
parent4d95a12beba146b0ca2de59c7ce905bc0aadfd0c (diff)
Merge drm/drm-fixes into drm-misc-fixes
Backmerging to get the latest fixes from upstream. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'include/linux/task_work.h')
-rw-r--r--include/linux/task_work.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/task_work.h b/include/linux/task_work.h
index cf5e7e891a77..2964171856e0 100644
--- a/include/linux/task_work.h
+++ b/include/linux/task_work.h
@@ -14,11 +14,14 @@ init_task_work(struct callback_head *twork, task_work_func_t func)
}
enum task_work_notify_mode {
- TWA_NONE,
+ TWA_NONE = 0,
TWA_RESUME,
TWA_SIGNAL,
TWA_SIGNAL_NO_IPI,
TWA_NMI_CURRENT,
+
+ TWA_FLAGS = 0xff00,
+ TWAF_NO_ALLOC = 0x0100,
};
static inline bool task_work_pending(struct task_struct *task)