diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-05 15:57:00 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2012-09-22 09:47:17 -0400 |
| commit | 0b894bd8e462644fceb290adf5b349ef834d761b (patch) | |
| tree | b818174920fa800eefabcf36ecc26fd27e24c417 | |
| parent | f76f330809e0c9e7235584273b5a5d6adccded52 (diff) | |
MIPS: Unobfuscate _TIF..._MASK
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| -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"); | |||
| 139 | #define _TIF_WORK_SYSCALL_EXIT (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT) | 139 | #define _TIF_WORK_SYSCALL_EXIT (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT) |
| 140 | 140 | ||
| 141 | /* work to do on interrupt/exception return */ | 141 | /* work to do on interrupt/exception return */ |
| 142 | #define _TIF_WORK_MASK (0x0000ffef & \ | 142 | #define _TIF_WORK_MASK \ |
| 143 | ~(_TIF_SECCOMP | _TIF_SYSCALL_AUDIT)) | 143 | (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME | \ |
| 144 | _TIF_RESTORE_SIGMASK) | ||
| 144 | /* work to do on any return to u-space */ | 145 | /* work to do on any return to u-space */ |
| 145 | #define _TIF_ALLWORK_MASK (0x8000ffff & ~_TIF_SECCOMP) | 146 | #define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | _TIF_WORK_SYSCALL_EXIT) |
| 146 | 147 | ||
| 147 | #endif /* __KERNEL__ */ | 148 | #endif /* __KERNEL__ */ |
| 148 | 149 | ||
