summaryrefslogtreecommitdiff
path: root/include/linux/task_work.h
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2024-11-04 11:21:20 +0300
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2024-11-04 11:21:20 +0300
commitc787c2901e2c03008e536b86cb0103ce6fd05e2d (patch)
tree06966989052f14f98c9b1ede0ea98822f317a586 /include/linux/task_work.h
parenta19d1db9a3fa89fabd7c83544b84f393ee9b851f (diff)
parent30169bb64580bd7bce9290c1952bf0aa6cc37fe5 (diff)
downloadlinux-c787c2901e2c03008e536b86cb0103ce6fd05e2d.tar.xz
Merge drm/drm-next into drm-xe-next
Backmerging to get up-to-date and to bring in a fix that was merged through drm-misc-fixes. Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
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)