From 9d0123f43ef3595278649fdc68114293fa1a52fe Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 7 Aug 2024 07:11:35 +0200 Subject: [PATCH] Moving header include inside __ASSEMBLER__ guard to fix assembler error --- kernel/riscv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/riscv.h b/kernel/riscv.h index 0cde08d..8fbeadd 100644 --- a/kernel/riscv.h +++ b/kernel/riscv.h @@ -1,9 +1,9 @@ #pragma once -#include "types.h" - #ifndef __ASSEMBLER__ +#include "types.h" + // which hart (core) is this? static inline u64 r_mhartid()