csky: add support for TIF_NOTIFY_SIGNAL
[sfrench/cifs-2.6.git] / arch / csky / kernel / signal.c
index 8b068cf37447839152227f3df7629a06fcfa6ae9..37ea64ed3c12bc96ab86a0caa953a0f32c309bc8 100644 (file)
@@ -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) {