diff --git a/include/zephyr/arch/arch_interface.h b/include/zephyr/arch/arch_interface.h index 6721cec1171..03bc27c8f16 100644 --- a/include/zephyr/arch/arch_interface.h +++ b/include/zephyr/arch/arch_interface.h @@ -47,8 +47,6 @@ typedef struct z_thread_stack_element k_thread_stack_t; typedef void (*k_thread_entry_t)(void *p1, void *p2, void *p3); -__deprecated typedef struct arch_esf z_arch_esf_t; - /** * @defgroup arch-timing Architecture timing APIs * @ingroup arch-interface diff --git a/scripts/checkpatch/typedefsfile b/scripts/checkpatch/typedefsfile index 0fc22b9779b..ad569c5e330 100644 --- a/scripts/checkpatch/typedefsfile +++ b/scripts/checkpatch/typedefsfile @@ -2,7 +2,6 @@ _cpu_arch_t k_mem_partition_attr_t k_timepoint_t mbedtls_pk_context -z_arch_esf_t pinctrl_soc_pin_t io_rw_32 \b[a-zA-Z_][a-zA-Z0-9_]*TypeDef diff --git a/subsys/profiling/perf/backends/perf_riscv.c b/subsys/profiling/perf/backends/perf_riscv.c index 2259e1c60db..94073ededcd 100644 --- a/subsys/profiling/perf/backends/perf_riscv.c +++ b/subsys/profiling/perf/backends/perf_riscv.c @@ -34,7 +34,7 @@ size_t arch_perf_current_stack_trace(uintptr_t *buf, size_t size) /* * In riscv (arch/riscv/core/isr.S) ra, ip($mepc) and fp($s0) are saved - * at the beginning of _isr_wrapper in order, specified by z_arch_esf_t. + * at the beginning of _isr_wrapper in order, specified by struct arch_esf. * Then, before calling interruption handler, core switch $sp to * _current_cpu->irq_stack and save $sp with offset -16 on irq stack *