summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-01 04:25:28 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-01 15:58:18 +0200
commitd70745bb43d9dba979a26e166463b330fa1ef470 (patch)
tree1f45bfe8089a0400938e5cd4dbf1584b81aff479 /arch/m32r
parentavr32: trim masks (diff)
downloadlinux-d70745bb43d9dba979a26e166463b330fa1ef470.tar.xz
linux-d70745bb43d9dba979a26e166463b330fa1ef470.zip
m32r: trim masks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/m32r')
-rw-r--r--arch/m32r/include/asm/thread_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m32r/include/asm/thread_info.h b/arch/m32r/include/asm/thread_info.h
index aad1c3a913d9..c074f4c2e858 100644
--- a/arch/m32r/include/asm/thread_info.h
+++ b/arch/m32r/include/asm/thread_info.h
@@ -131,8 +131,8 @@ static inline unsigned int get_thread_fault_code(void)
#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
#define _TIF_USEDFPU (1<<TIF_USEDFPU)
-#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
-#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */
+#define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME)
+#define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | _TIF_SYSCALL_TRACE)
/*
* Thread-synchronous status.