projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64482bd
)
h8300: trim _TIF_WORK_MASK
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 24 May 2012 07:12:25 +0000
(
03:12
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 1 Oct 2012 13:58:15 +0000
(09:58 -0400)
Only the three usual flags (NEED_RESCHED/SIGPENDING/NOTIFY_RESUME)
are looked at in the code checking _TIF_WORK_MASK on that one.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/h8300/include/asm/thread_info.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/h8300/include/asm/thread_info.h
b/arch/h8300/include/asm/thread_info.h
index 63cc298edb671c1fbc6eaf0c8c815ae7acc2f2f3..ec2f7777c65a6c631f68fbc87733992c7b421b6e 100644
(file)
--- a/
arch/h8300/include/asm/thread_info.h
+++ b/
arch/h8300/include/asm/thread_info.h
@@
-95,7
+95,8
@@
static inline struct thread_info *current_thread_info(void)
#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
-#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
+#define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \
+ _TIF_NOTIFY_RESUME)
#endif /* __KERNEL__ */