diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-23 15:28:58 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-01 12:58:50 -0400 |
commit | 6fd84c0831ec78d98736b76dc5e9b849f1dbfc9e (patch) | |
tree | d3d95e7a66f6edcd29cfc4f2ff01aec8422b5a88 /arch/mips | |
parent | bf343dfd877ebf16cfbc31ba121606c5b6cef01f (diff) |
TIF_RESTORE_SIGMASK can be set only when TIF_SIGPENDING is set
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index 53c6e90082f0..896165757e6f 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c | |||
@@ -610,7 +610,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused, | |||
610 | local_irq_enable(); | 610 | local_irq_enable(); |
611 | 611 | ||
612 | /* deal with pending signal delivery */ | 612 | /* deal with pending signal delivery */ |
613 | if (thread_info_flags & (_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK)) | 613 | if (thread_info_flags & _TIF_SIGPENDING) |
614 | do_signal(regs); | 614 | do_signal(regs); |
615 | 615 | ||
616 | if (thread_info_flags & _TIF_NOTIFY_RESUME) { | 616 | if (thread_info_flags & _TIF_NOTIFY_RESUME) { |