projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac19fe5
)
unicore32: unobfuscate _TIF_WORK_MASK
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 5 May 2012 22:29:41 +0000
(18:29 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 1 Oct 2012 13:58:12 +0000
(09:58 -0400)
bits 3..7 in flags are never set there, so this 0xff is pointless
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/unicore32/include/asm/thread_info.h
patch
|
blob
|
history
diff --git
a/arch/unicore32/include/asm/thread_info.h
b/arch/unicore32/include/asm/thread_info.h
index 89f7557583b82d9bfe86d6bd967251c99e66de0b..bf1c3e01197be3f1e5cd63984fea6aadedd6921e 100644
(file)
--- 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)
/*
* 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__ */