aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-05 18:29:41 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-01 09:58:12 -0400
commit87b0e714dee438309efca998616a2dbb064ca1a0 (patch)
tree6332ed704f450884a3deb65d006d4625be8da773 /arch/unicore32/include
parentac19fe5bf1db7a6fda2d7c5a92df08083f184c08 (diff)
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>
Diffstat (limited to 'arch/unicore32/include')
-rw-r--r--arch/unicore32/include/asm/thread_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/unicore32/include/asm/thread_info.h b/arch/unicore32/include/asm/thread_info.h
index 89f7557583b8..bf1c3e01197b 100644
--- a/arch/unicore32/include/asm/thread_info.h
+++ b/arch/unicore32/include/asm/thread_info.h
@@ -146,7 +146,8 @@ static inline struct thread_info *current_thread_info(void)
146/* 146/*
147 * Change these and you break ASM code in entry-common.S 147 * Change these and you break ASM code in entry-common.S
148 */ 148 */
149#define _TIF_WORK_MASK 0x000000ff 149#define _TIF_WORK_MASK \
150 (_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME)
150 151
151#endif /* __KERNEL__ */ 152#endif /* __KERNEL__ */
152#endif /* __UNICORE_THREAD_INFO_H__ */ 153#endif /* __UNICORE_THREAD_INFO_H__ */