summaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/kernel/signal.c')
-rw-r--r--arch/csky/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/signal.c b/arch/csky/kernel/signal.c
index 8b068cf37447..37ea64ed3c12 100644
--- a/arch/csky/kernel/signal.c
+++ b/arch/csky/kernel/signal.c
@@ -257,7 +257,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs,
uprobe_notify_resume(regs);
/* Handle pending signal delivery */
- if (thread_info_flags & _TIF_SIGPENDING)
+ if (thread_info_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL))
do_signal(regs);
if (thread_info_flags & _TIF_NOTIFY_RESUME) {