arch/riscv: fix IRQ_SOFT for non-SMP
This fixes software interrupt number for non-SMP cases Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
parent
819685fbec
commit
41dba46c1d
@ -304,6 +304,6 @@ void riscv_exception_attach(void)
|
||||
#ifdef CONFIG_SMP
|
||||
irq_attach(RISCV_IRQ_SOFT, riscv_pause_handler, NULL);
|
||||
#else
|
||||
irq_attach(RISCV_IRQ_MSOFT, riscv_exception, NULL);
|
||||
irq_attach(RISCV_IRQ_SOFT, riscv_exception, NULL);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user