]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: NOTIFY_RESUME is not needed in TIF masks
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 May 2012 20:24:40 +0000 (16:24 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Sep 2012 19:45:31 +0000 (21:45 +0200)
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>
arch/mips/include/asm/thread_info.h

index 6bd02dbba4520f6bcd0bbd2b31b7bc73d95e2635..946e010f20182b11622aa0b9bbc2d53927eab36e 100644 (file)
@@ -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)