| .. | .. |
|---|
| 62 | 62 | #define TIF_SIGPENDING 2 /* signal pending */ |
|---|
| 63 | 63 | #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ |
|---|
| 64 | 64 | #define TIF_SYSCALL_AUDIT 4 /* syscall audit active */ |
|---|
| 65 | +#define TIF_NOTIFY_SIGNAL 5 /* signal notifications exist */ |
|---|
| 65 | 66 | #define TIF_DIE_IF_KERNEL 9 /* dik recursion lock */ |
|---|
| 66 | 67 | #define TIF_MEMDIE 13 /* is terminating due to OOM killer */ |
|---|
| 67 | 68 | #define TIF_POLLING_NRFLAG 14 /* idle is polling for TIF_NEED_RESCHED */ |
|---|
| .. | .. |
|---|
| 71 | 72 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) |
|---|
| 72 | 73 | #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) |
|---|
| 73 | 74 | #define _TIF_SYSCALL_AUDIT (1<<TIF_SYSCALL_AUDIT) |
|---|
| 75 | +#define _TIF_NOTIFY_SIGNAL (1<<TIF_NOTIFY_SIGNAL) |
|---|
| 74 | 76 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) |
|---|
| 75 | 77 | |
|---|
| 76 | 78 | /* Work to do on interrupt/exception return. */ |
|---|
| 77 | 79 | #define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \ |
|---|
| 78 | | - _TIF_NOTIFY_RESUME) |
|---|
| 80 | + _TIF_NOTIFY_RESUME | _TIF_NOTIFY_SIGNAL) |
|---|
| 79 | 81 | |
|---|
| 80 | 82 | /* Work to do on any return to userspace. */ |
|---|
| 81 | 83 | #define _TIF_ALLWORK_MASK (_TIF_WORK_MASK \ |
|---|