Skip to content

Commit d70745b

Browse files
author
Al Viro
committed
m32r: trim masks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 971ceb1 commit d70745b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/m32r/include/asm/thread_info.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ static inline unsigned int get_thread_fault_code(void)
131131
#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
132132
#define _TIF_USEDFPU (1<<TIF_USEDFPU)
133133

134-
#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
135-
#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */
134+
#define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME)
135+
#define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | _TIF_SYSCALL_TRACE)
136136

137137
/*
138138
* Thread-synchronous status.

0 commit comments

Comments
 (0)