dect
/
linux-2.6
Archived
13
0
Fork 0

unicore32: unobfuscate _TIF_WORK_MASK

bits 3..7 in flags are never set there, so this 0xff is pointless

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2012-05-05 18:29:41 -04:00
parent ac19fe5bf1
commit 87b0e714de
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,8 @@ static inline struct thread_info *current_thread_info(void)
/*
* Change these and you break ASM code in entry-common.S
*/
#define _TIF_WORK_MASK 0x000000ff
#define _TIF_WORK_MASK \
(_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME)
#endif /* __KERNEL__ */
#endif /* __UNICORE_THREAD_INFO_H__ */