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:
parent
2ce31c442f
commit
5b7267bf66
|
@ -162,12 +162,6 @@ restore_new:
|
||||||
ldr x4, [x0, #8 * REG_SP_ELX]
|
ldr x4, [x0, #8 * REG_SP_ELX]
|
||||||
sub sp, x4, #8 * XCPTCONTEXT_GP_REGS
|
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
|
#ifdef CONFIG_ARCH_FPU
|
||||||
stp xzr, x30, [sp, #-16]!
|
stp xzr, x30, [sp, #-16]!
|
||||||
bl arm64_fpu_context_restore
|
bl arm64_fpu_context_restore
|
||||||
|
|
Loading…
Reference in New Issue