projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff89357
)
unicore32: remove pointless test
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 26 May 2012 04:25:15 +0000
(
00:25
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 1 Oct 2012 13:58:15 +0000
(09:58 -0400)
we can get into work_pending only if at least one of NEED_RESCHED,
SIGPENDING or NOTIFY_RESUME is set. So once we'd found no NEED_RESCHED,
there's no need to check that one of the other two is set.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/unicore32/kernel/entry.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/unicore32/kernel/entry.S
b/arch/unicore32/kernel/entry.S
index 00a259f9819e147dc77e22802594bc48a2d042f7..dcb87ab19ddd8b5912dfa2d765c4158fa1bbad73 100644
(file)
--- a/
arch/unicore32/kernel/entry.S
+++ b/
arch/unicore32/kernel/entry.S
@@
-544,8
+544,6
@@
fast_work_pending:
work_pending:
cand.a r1, #_TIF_NEED_RESCHED
bne work_resched
- cand.a r1, #_TIF_SIGPENDING|_TIF_NOTIFY_RESUME
- beq no_work_pending
mov r0, sp @ 'regs'
mov r2, why @ 'syscall'
cand.a r1, #_TIF_SIGPENDING @ delivering a signal?