Moving header include inside __ASSEMBLER__ guard to fix assembler error

This commit is contained in:
Imbus 2024-08-07 07:11:35 +02:00
parent 11b52f63c1
commit 9d0123f43e

View file

@ -1,9 +1,9 @@
#pragma once #pragma once
#include "types.h"
#ifndef __ASSEMBLER__ #ifndef __ASSEMBLER__
#include "types.h"
// which hart (core) is this? // which hart (core) is this?
static inline u64 static inline u64
r_mhartid() r_mhartid()