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:
parent
37f427a5c7
commit
17080d0215
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue