hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/ia64/include/asm/thread_info.h
....@@ -103,6 +103,7 @@
103103 #define TIF_SYSCALL_TRACE 2 /* syscall trace active */
104104 #define TIF_SYSCALL_AUDIT 3 /* syscall auditing active */
105105 #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */
106
+#define TIF_NOTIFY_SIGNAL 5 /* signal notification exist */
106107 #define TIF_NOTIFY_RESUME 6 /* resumption notification requested */
107108 #define TIF_MEMDIE 17 /* is terminating due to OOM killer */
108109 #define TIF_MCA_INIT 18 /* this task is processing MCA or INIT */
....@@ -115,6 +116,7 @@
115116 #define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)
116117 #define _TIF_SYSCALL_TRACEAUDIT (_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SINGLESTEP)
117118 #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
119
+#define _TIF_NOTIFY_SIGNAL (1 << TIF_NOTIFY_SIGNAL)
118120 #define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
119121 #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
120122 #define _TIF_MCA_INIT (1 << TIF_MCA_INIT)
....@@ -124,7 +126,7 @@
124126
125127 /* "work to do on user-return" bits */
126128 #define TIF_ALLWORK_MASK (_TIF_SIGPENDING|_TIF_NOTIFY_RESUME|_TIF_SYSCALL_AUDIT|\
127
- _TIF_NEED_RESCHED|_TIF_SYSCALL_TRACE)
129
+ _TIF_NEED_RESCHED|_TIF_SYSCALL_TRACE|_TIF_NOTIFY_SIGNAL)
128130 /* like TIF_ALLWORK_BITS but sans TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT */
129131 #define TIF_WORK_MASK (TIF_ALLWORK_MASK&~(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT))
130132