diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-05 15:57:00 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 09:58:11 -0400 |
commit | f925725d91895fe6ca293c6838cc8bd821488fcf (patch) | |
tree | da0ef568d0d51912d8730ee3ef9840ffbbec063e /arch/mips/include | |
parent | bfc83647bbbb2aaf748a582ed7d45fb1408d4671 (diff) | |
download | linux-f925725d91895fe6ca293c6838cc8bd821488fcf.tar.gz linux-f925725d91895fe6ca293c6838cc8bd821488fcf.tar.bz2 linux-f925725d91895fe6ca293c6838cc8bd821488fcf.zip |
mips: unobfuscate _TIF..._MASK
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/thread_info.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h index ca97e0ecb64b..6bd02dbba452 100644 --- a/arch/mips/include/asm/thread_info.h +++ b/arch/mips/include/asm/thread_info.h @@ -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__ */ |