diff --git a/libcpu/arm/cortex-a/context_gcc.S b/libcpu/arm/cortex-a/context_gcc.S index 8dc8267ae303f45360252a9d715a43bc7ed64b08..4ee0594bdf1df2cdb3aa655d8455d867ebee8f2c 100644 --- a/libcpu/arm/cortex-a/context_gcc.S +++ b/libcpu/arm/cortex-a/context_gcc.S @@ -155,9 +155,10 @@ rt_hw_context_switch_interrupt: ldr sp, [r2] mov r0, r3 - + mov r4, r0 bl rt_cpus_lock_status_restore - + mov r0, r4 + bl lwp_user_setting_restore b rt_hw_context_switch_exit #else /*RT_USING_SMP*/