Skip to content

Commit

Permalink
unicore32: unobfuscate _TIF_WORK_MASK
Browse files Browse the repository at this point in the history
bits 3..7 in flags are never set there, so this 0xff is pointless

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Oct 1, 2012
1 parent ac19fe5 commit 87b0e71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/unicore32/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

0 comments on commit 87b0e71

Please sign in to comment.