From da6c3d14ceda31f8752da6069c313a5816a308f2 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Fri, 4 Oct 2019 19:44:59 +0200 Subject: [PATCH] arch: arm: swap: add useful inline comment for SVC return We add a useful inline comment in the SVC handler (written in assembly), which identifies one of the function return points a bit more clearly. Signed-off-by: Ioannis Glaropoulos --- arch/arm/core/swap_helper.S | 1 + 1 file changed, 1 insertion(+) 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)