···107107#define TIF_NEED_RESCHED 3 /* rescheduling necessary */108108/* restore singlestep on return to user mode */109109#define TIF_SINGLESTEP 4110110+#define TIF_NOTIFY_SIGNAL 5 /* signal notifications exist */110111#define TIF_MEMDIE 6 /* is terminating due to OOM killer */111112#define TIF_SYSCALL_AUDIT 9 /* syscall auditing active */112113#define TIF_SECCOMP 10 /* secure computing */···120119#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)121120#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)122121#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)122122+#define _TIF_NOTIFY_SIGNAL (1 << TIF_NOTIFY_SIGNAL)123123#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)124124#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT)125125#define _TIF_SECCOMP (1 << TIF_SECCOMP)
+2-1
arch/microblaze/kernel/signal.c
···313313314314asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall)315315{316316- if (test_thread_flag(TIF_SIGPENDING))316316+ if (test_thread_flag(TIF_SIGPENDING) ||317317+ test_thread_flag(TIF_NOTIFY_SIGNAL))317318 do_signal(regs, in_syscall);318319319320 if (test_thread_flag(TIF_NOTIFY_RESUME))