diff --git a/arch/arm/core/swap_helper.S b/arch/arm/core/swap_helper.S index a1a597999dd..44ee723cc49 100644 --- a/arch/arm/core/swap_helper.S +++ b/arch/arm/core/swap_helper.S @@ -466,6 +466,7 @@ _stack_frame_endif: _oops: push {r0, lr} bl z_do_kernel_oops + /* return from SVC exception is done here */ pop {r0, pc} #if defined(CONFIG_USERSPACE)