summaryrefslogtreecommitdiff
path: root/core/nds32/switch.S
diff options
context:
space:
mode:
Diffstat (limited to 'core/nds32/switch.S')
-rw-r--r--core/nds32/switch.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/nds32/switch.S b/core/nds32/switch.S
index 2c4ce0c273..81c0770dea 100644
--- a/core/nds32/switch.S
+++ b/core/nds32/switch.S
@@ -63,6 +63,8 @@ __switch_task:
/* exception frame pointer for the new task */
mov55 $fp, $r3
1: /* un-pile the interruption entry context */
+ /* isr exit */
+ jal end_irq_handler
/* restore r0-r5 */
lmw.bim $r0, [$fp], $r5, 0
/* restore r15, fp, lp and sp */