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, 1 insertions, 1 deletions
diff --git a/core/nds32/switch.S b/core/nds32/switch.S
index 81c0770dea..a9633782b3 100644
--- a/core/nds32/switch.S
+++ b/core/nds32/switch.S
@@ -89,7 +89,7 @@ __task_start:
movi55 $r0, 0 /* syscall 1st parameter : de-schedule nothing */
/* put the dummy stack pointer at the top of the stack in scratchpad */
- addi $sp, $r3, 4 * 16
+ addi $sp, $r3, 4 * 18
/* we are ready to re-schedule */
swi.gp $r4, [ + need_resched]