diff --git a/src/arch/x86/include/arch/mmio.h b/src/arch/x86/include/arch/mmio.h index c2aa0fb910..b2a37a03dd 100644 --- a/src/arch/x86/include/arch/mmio.h +++ b/src/arch/x86/include/arch/mmio.h @@ -5,6 +5,10 @@ #include +#ifndef __always_inline +#define __always_inline inline +#endif + static __always_inline uint8_t read8(const volatile void *addr) { return *((volatile uint8_t *)(addr));