]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: Unobfuscate _TIF..._MASK
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 May 2012 19:57:00 +0000 (15:57 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Sep 2012 19:45:31 +0000 (21:45 +0200)
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 ca97e0ecb64b5054195b7d271017fa2760b7d05a..6bd02dbba4520f6bcd0bbd2b31b7bc73d95e2635 100644 (file)
@@ -139,10 +139,11 @@ register struct thread_info *__current_thread_info __asm__("$28");
 #define _TIF_WORK_SYSCALL_EXIT (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT)
 
 /* work to do on interrupt/exception return */
-#define _TIF_WORK_MASK         (0x0000ffef &                           \
-                                       ~(_TIF_SECCOMP | _TIF_SYSCALL_AUDIT))
+#define _TIF_WORK_MASK         \
+       (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME | \
+        _TIF_RESTORE_SIGMASK)
 /* work to do on any return to u-space */
-#define _TIF_ALLWORK_MASK      (0x8000ffff & ~_TIF_SECCOMP)
+#define _TIF_ALLWORK_MASK      (_TIF_WORK_MASK | _TIF_WORK_SYSCALL_EXIT)
 
 #endif /* __KERNEL__ */