arch: riscv: irq_manage: add missing PLIC header
Module uses RISC-V PLIC interrupt controller API without including the necessary headers. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
0addc80d10
commit
6252e8576c
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
|||
#include <zephyr/arch/riscv/csr.h>
|
||||
#include <zephyr/irq_multilevel.h>
|
||||
|
||||
#ifdef CONFIG_RISCV_HAS_PLIC
|
||||
#include <zephyr/drivers/interrupt_controller/riscv_plic.h>
|
||||
#endif
|
||||
|
||||
LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
|
||||
|
||||
FUNC_NORETURN void z_irq_spurious(const void *unused)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue