Skip to content

Commit 4f1ee4b

Browse files
ycsinaescolar
authored andcommitted
arch: riscv: irq: include util_macro.h for the macros
Macros like `BIT()` & `BIT64()` from the `util_macro.h` are used, include their header to compile properly. Signed-off-by: Yong Cong Sin <[email protected]>
1 parent 9647db8 commit 4f1ee4b

File tree

1 file changed

+2
-0
lines changed
  • include/zephyr/arch/riscv

1 file changed

+2
-0
lines changed

include/zephyr/arch/riscv/irq.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
extern "C" {
1919
#endif
2020

21+
#include <zephyr/sys/util_macro.h>
22+
2123
#ifndef _ASMLANGUAGE
2224
#include <zephyr/irq.h>
2325
#include <zephyr/sw_isr_table.h>

0 commit comments

Comments
 (0)