mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
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 <qinwei1@xiaomi.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user