When saving a context on arm call the vfp handler
When adding kernel VFP support on arm a comparison instruction was removed, however the branch to vfp_save_state was still conditional. Remove the conditional check and always call into vfp_save_state as it could cause unexpected results otherwise. Sponsored by: Arm Ltd
This commit is contained in:
parent
8aad241ed0
commit
24abb6b821
@ -325,7 +325,7 @@ ENTRY(cpu_switch)
|
||||
ldr r3, [r10, #(TD_PCB)]
|
||||
mov r1, r3
|
||||
mov r0, r10
|
||||
blne _C_LABEL(vfp_save_state)
|
||||
bl _C_LABEL(vfp_save_state)
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -101,7 +101,7 @@ ENTRY(savectx)
|
||||
#ifdef VFP
|
||||
mov r1, r0
|
||||
mov r0, #0
|
||||
blne _C_LABEL(vfp_save_state)
|
||||
bl _C_LABEL(vfp_save_state)
|
||||
#endif
|
||||
add sp, sp, #4;
|
||||
ldmfd sp!, {pc}
|
||||
|
Loading…
x
Reference in New Issue
Block a user