arch: ipi_handler -> sched_ipi_handler

unifiy naming for ipi handler call and use the same signature
everywhere.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-12-13 13:23:56 -05:00 committed by Carles Cufí
parent 37f427a5c7
commit 17080d0215

View file

@ -104,7 +104,7 @@ void z_riscv_flush_fpu_ipi(unsigned int cpu)
} }
#endif #endif
static void ipi_handler(const void *unused) static void sched_ipi_handler(const void *unused)
{ {
ARG_UNUSED(unused); ARG_UNUSED(unused);
@ -154,7 +154,7 @@ void arch_spin_relax(void)
int arch_smp_init(void) int arch_smp_init(void)
{ {
IRQ_CONNECT(RISCV_MACHINE_SOFT_IRQ, 0, ipi_handler, NULL, 0); IRQ_CONNECT(RISCV_MACHINE_SOFT_IRQ, 0, sched_ipi_handler, NULL, 0);
irq_enable(RISCV_MACHINE_SOFT_IRQ); irq_enable(RISCV_MACHINE_SOFT_IRQ);
return 0; return 0;