Update the sp after popping the regs.
This is a good candidate for the golden pointy hat awards.
This commit is contained in:
parent
8325619210
commit
c372644159
@ -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