Update the sp after popping the regs.

This is a good candidate for the golden pointy hat awards.
This commit is contained in:
cognet 2004-12-14 18:45:05 +00:00
parent f9fda0dd29
commit 483dfc89cc

View File

@ -205,7 +205,7 @@ ENTRY(cpu_throw)
ldr r6, .Lcurpcb
str r7, [r6]
ldmfd sp, {r4-r7, pc}
ldmfd sp!, {r4-r7, pc}
ENTRY(cpu_switch)
stmfd sp!, {r4-r7, lr}