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 8325619210
commit c372644159

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}