Skip to content

Commit 8b5d7e5

Browse files
Valentin Schneiderjcmvbkbc
authored andcommitted
xtensa: entry: Remove unneeded need_resched() loop
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 <[email protected]> Signed-off-by: Valentin Schneider <[email protected]> Message-Id: <[email protected]> Signed-off-by: Max Filippov <[email protected]>
1 parent e64681b commit 8b5d7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/xtensa/kernel/entry.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ common_exception_return:
529529
l32i a4, a2, TI_PRE_COUNT
530530
bnez a4, 4f
531531
call4 preempt_schedule_irq
532-
j 1b
532+
j 4f
533533
#endif
534534

535535
#if XTENSA_FAKE_NMI

0 commit comments

Comments
 (0)