From 90e76bd8913ecf9619902b4df1d1282c656d7e4b Mon Sep 17 00:00:00 2001 From: Bradley Bolen Date: Wed, 19 May 2021 15:25:59 -0400 Subject: [PATCH] arch: arm: cortex_r: Use macro for svc call Use the context switch macro for z_arm_cortex_r_svc to be more clear about the svc call being executed. Signed-off-by: Bradley Bolen --- arch/arm/core/aarch32/swap_helper.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/core/aarch32/swap_helper.S b/arch/arm/core/aarch32/swap_helper.S index a3cc7a8dd60..70b009e3442 100644 --- a/arch/arm/core/aarch32/swap_helper.S +++ b/arch/arm/core/aarch32/swap_helper.S @@ -680,7 +680,7 @@ _oops: GTEXT(z_arm_cortex_r_svc) SECTION_FUNC(TEXT, z_arm_cortex_r_svc) - svc #0 + svc #_SVC_CALL_CONTEXT_SWITCH bx lr #else