Skip to content

Commit

Permalink
core: riscv: Include kernel/interrupt.h for thread_arch.c
Browse files Browse the repository at this point in the history
Otherwise, the compiler can not find the declaration of
interrupt_main_handler().

Signed-off-by: Alvin Chang <alvinga@andestech.com>
  • Loading branch information
gagachang committed Jan 4, 2024
1 parent 4e9bfb9 commit d3a919f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/arch/riscv/kernel/thread_arch.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <keep.h>
#include <kernel/asan.h>
#include <kernel/boot.h>
#include <kernel/interrupt.h>
#include <kernel/linker.h>
#include <kernel/lockdep.h>
#include <kernel/misc.h>
Expand Down

0 comments on commit d3a919f

Please sign in to comment.