aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/nds32/kernel/ex-exit.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/nds32/kernel/ex-exit.S b/arch/nds32/kernel/ex-exit.S
index 97ba15cd4180..1df02a793364 100644
--- a/arch/nds32/kernel/ex-exit.S
+++ b/arch/nds32/kernel/ex-exit.S
@@ -163,7 +163,7 @@ resume_kernel:
163 gie_disable 163 gie_disable
164 lwi $t0, [tsk+#TSK_TI_PREEMPT] 164 lwi $t0, [tsk+#TSK_TI_PREEMPT]
165 bnez $t0, no_work_pending 165 bnez $t0, no_work_pending
166need_resched: 166
167 lwi $t0, [tsk+#TSK_TI_FLAGS] 167 lwi $t0, [tsk+#TSK_TI_FLAGS]
168 andi $p1, $t0, #_TIF_NEED_RESCHED 168 andi $p1, $t0, #_TIF_NEED_RESCHED
169 beqz $p1, no_work_pending 169 beqz $p1, no_work_pending
@@ -173,7 +173,7 @@ need_resched:
173 beqz $t0, no_work_pending 173 beqz $t0, no_work_pending
174 174
175 jal preempt_schedule_irq 175 jal preempt_schedule_irq
176 b need_resched 176 b no_work_pending
177#endif 177#endif
178 178
179/* 179/*