summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-31 22:25:28 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-01 09:58:18 -0400
commitd70745bb43d9dba979a26e166463b330fa1ef470 (patch)
tree1f45bfe8089a0400938e5cd4dbf1584b81aff479 /arch/m32r
parent971ceb17dc702fa93fe4b4b7b293248c160bf880 (diff)
downloadop-kernel-dev-d70745bb43d9dba979a26e166463b330fa1ef470.zip
op-kernel-dev-d70745bb43d9dba979a26e166463b330fa1ef470.tar.gz
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 aad1c3a..c074f4c 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.
OpenPOWER on IntegriCloud