summaryrefslogtreecommitdiff
path: root/coroutine/arm32/Context.S
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine/arm32/Context.S')
-rw-r--r--coroutine/arm32/Context.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S
index a44ba48778..c2b93d0a34 100644
--- a/coroutine/arm32/Context.S
+++ b/coroutine/arm32/Context.S
@@ -9,7 +9,6 @@
.globl coroutine_transfer
coroutine_transfer:
- push {r4-r11,lr}
- str sp, [r0]
- ldr sp, [r1]
- pop {r4-r11,pc}
+ stmia r1!, {r4-r11,sp,lr}
+ ldmia r0!, {r4-r11,sp,pc}
+ bx lr