From 83ea4dd628447bfdf544f4df786fe28a08f7f7d6 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Thu, 30 May 2013 17:37:50 +0800 Subject: [PATCH] rm48x50: small cleanup on context_ccs.asm --- libcpu/arm/rm48x50/context_ccs.asm | 2 -- 1 file changed, 2 deletions(-) diff --git a/libcpu/arm/rm48x50/context_ccs.asm b/libcpu/arm/rm48x50/context_ccs.asm index 60e2f27671..9d74e2d849 100644 --- a/libcpu/arm/rm48x50/context_ccs.asm +++ b/libcpu/arm/rm48x50/context_ccs.asm @@ -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