From 16133d5f3b5b4ded1ad9f6ab664d4a6ae0cd376e Mon Sep 17 00:00:00 2001 From: shaojinchun Date: Thu, 17 Jun 2021 23:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=9C=A8arm=20cortext?= =?UTF-8?q?=E7=9A=84smp=E6=97=B6,=E4=B8=AD=E6=96=AD=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=97=B6=E6=9C=AA=E6=AD=A3=E7=A1=AE=E6=81=A2=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7tpidr=E5=AF=84=E5=AD=98=E5=99=A8=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/arm/cortex-a/context_gcc.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libcpu/arm/cortex-a/context_gcc.S b/libcpu/arm/cortex-a/context_gcc.S index 8dc8267ae3..4ee0594bdf 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*/ -- Gitee