rm48x50: small cleanup on context_ccs.asm
This commit is contained in:
parent
d8755ddd93
commit
83ea4dd628
|
@ -62,8 +62,6 @@ rt_hw_context_switch
|
|||
|
||||
LDMFD sp!, {r4} ; pop new task cpsr to spsr
|
||||
MSR spsr_cxsf, r4
|
||||
BIC r4, r4, #0x20 ; must be ARM mode
|
||||
MSR cpsr_cxsf, r4
|
||||
|
||||
LDMFD sp!, {r0-r12, lr, pc}^ ; pop new task r0-r12, lr & pc, copy spsr to cpsr
|
||||
|
||||
|
|
Loading…
Reference in New Issue