aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/e200
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/ports/e200')
-rw-r--r--os/common/ports/e200/compilers/GCC/chcoreasm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/common/ports/e200/compilers/GCC/chcoreasm.S b/os/common/ports/e200/compilers/GCC/chcoreasm.S
index b39ffeef3..fd6e1e8a5 100644
--- a/os/common/ports/e200/compilers/GCC/chcoreasm.S
+++ b/os/common/ports/e200/compilers/GCC/chcoreasm.S
@@ -80,8 +80,8 @@ _port_switch:
se_stw r0, 0(sp)
e_stmw r14, 4(sp)
- se_stw sp, 12(r4)
- se_lwz sp, 12(r3)
+ se_stw sp, CONTEXT_OFFSET(r4)
+ se_lwz sp, CONTEXT_OFFSET(r3)
e_lmw r14, 4(sp)
se_lwz r0, 0(sp)