Update the sp after popping the regs.
This is a good candidate for the golden pointy hat awards.
This commit is contained in:
parent
f9fda0dd29
commit
483dfc89cc
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user