diff --git a/arch/sparc/core/interrupt_trap.S b/arch/sparc/core/interrupt_trap.S index 8c9b9086038..d900fc3cc76 100644 --- a/arch/sparc/core/interrupt_trap.S +++ b/arch/sparc/core/interrupt_trap.S @@ -145,6 +145,11 @@ __sparc_trap_interrupt: nop nop +#ifdef CONFIG_SCHED_THREAD_USAGE + call z_sched_usage_stop + nop +#endif + #ifdef CONFIG_TRACING_ISR call sys_trace_isr_enter nop