From 5b7267bf66d5a5f2da6815fe66d1cb04f1407389 Mon Sep 17 00:00:00 2001 From: qinwei1 Date: Tue, 11 Jul 2023 11:57:06 +0800 Subject: [PATCH] arm64: remove unnecessary trace interface Summary this is a old implement for Arm64 trace but will failed compile when enable CONFIG_SCHED_INSTRUMENTATION_SWITCH remove it since it will never use for trace framework Signed-off-by: qinwei1 --- arch/arm64/src/common/arm64_vectors.S | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm64/src/common/arm64_vectors.S b/arch/arm64/src/common/arm64_vectors.S index ae89f10b2a..e44ef8aa69 100644 --- a/arch/arm64/src/common/arm64_vectors.S +++ b/arch/arm64/src/common/arm64_vectors.S @@ -162,12 +162,6 @@ restore_new: ldr x4, [x0, #8 * REG_SP_ELX] sub sp, x4, #8 * XCPTCONTEXT_GP_REGS -#ifdef CONFIG_SCHED_INSTRUMENTATION_SWITCH - stp xzr, x30, [sp, #-16]! - bl arm64_trace_context_switch - ldp xzr, x30, [sp], #16 -#endif - #ifdef CONFIG_ARCH_FPU stp xzr, x30, [sp, #-16]! bl arm64_fpu_context_restore