Add the frame information to cpu_switch to allow us to unwind out of it,
for example when dumping threads in the kernel debugger.
This commit is contained in:
parent
da154710c4
commit
85e8977a2c
@ -218,6 +218,11 @@ END(cpu_throw)
|
||||
ENTRY(cpu_switch)
|
||||
stmfd sp!, {r4-r7, lr}
|
||||
sub sp, sp, #4;
|
||||
#ifdef __ARM_EABI__
|
||||
.save {r4-r7, lr}
|
||||
.pad #4
|
||||
#endif
|
||||
|
||||
mov r6, r2 /* Save the mutex */
|
||||
|
||||
.Lswitch_resume:
|
||||
|
Loading…
x
Reference in New Issue
Block a user