summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-05 16:24:40 -0400
committerRalf Baechle <ralf@linux-mips.org>2012-09-22 15:47:40 +0200
commitb1c561845dc969ab05cb080a6abb0d394d52d8c1 (patch)
treeb7656dcf7e55831477b954ba50e842b3b0edeb23 /arch/mips
parent02f884ed46b38c5c386709b2619730ba7a8d200c (diff)
MIPS: NOTIFY_RESUME is not needed in TIF masks
If it's set, SIGPENDING is also set. And SIGPENDING is present in the masks... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/thread_info.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h
index 6bd02dbba45..946e010f201 100644
--- a/arch/mips/include/asm/thread_info.h
+++ b/arch/mips/include/asm/thread_info.h
@@ -140,8 +140,7 @@ register struct thread_info *__current_thread_info __asm__("$28");
/* work to do on interrupt/exception return */
#define _TIF_WORK_MASK \
- (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME | \
- _TIF_RESTORE_SIGMASK)
+ (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME)
/* work to do on any return to u-space */
#define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | _TIF_WORK_SYSCALL_EXIT)