projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e64681b
)
xtensa: entry: Remove unneeded need_resched() loop
author
Valentin Schneider
<valentin.schneider@arm.com>
Mon, 23 Sep 2019 14:36:20 +0000
(15:36 +0100)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 26 Nov 2019 19:33:39 +0000
(11:33 -0800)
Since the enabling and disabling of IRQs within preempt_schedule_irq()
is contained in a need_resched() loop, we don't need the outer arch
code loop.
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Message-Id: <
20190923143620
.29334-10-valentin.schneider@arm.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/entry.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/kernel/entry.S
b/arch/xtensa/kernel/entry.S
index 9e3676879168ab920696c4e0809696edcda44ffe..2ca209e71565b61d57f7ea639330639cea666690 100644
(file)
--- a/
arch/xtensa/kernel/entry.S
+++ b/
arch/xtensa/kernel/entry.S
@@
-529,7
+529,7
@@
common_exception_return:
l32i a4, a2, TI_PRE_COUNT
bnez a4, 4f
call4 preempt_schedule_irq
- j
1b
+ j
4f
#endif
#if XTENSA_FAKE_NMI