diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/nil/ports/e200/nilcore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/nil/ports/e200/nilcore.c b/os/nil/ports/e200/nilcore.c index 5ca3e40c0..1f6e62fe1 100644 --- a/os/nil/ports/e200/nilcore.c +++ b/os/nil/ports/e200/nilcore.c @@ -73,8 +73,8 @@ void port_dummy1(void) { asm ("stw %r0, 0(%sp)"); /* CR. */
asm ("stmw %r14, 4(%sp)"); /* GPR14...GPR31. */
- asm ("stw %sp, 12(%r4)"); /* Store swapped-out stack. */
- asm ("lwz %sp, 12(%r3)"); /* Load swapped-in stack. */
+ asm ("stw %sp, 0(%r4)"); /* Store swapped-out stack. */
+ asm ("lwz %sp, 0(%r3)"); /* Load swapped-in stack. */
asm ("lmw %r14, 4(%sp)"); /* GPR14...GPR31. */
asm ("lwz %r0, 0(%sp)"); /* CR. */
|