summaryrefslogtreecommitdiff
path: root/src/arch/riscv/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/include')
-rw-r--r--src/arch/riscv/include/arch/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/riscv/include/arch/cpu.h b/src/arch/riscv/include/arch/cpu.h
index 7cf94615a6..d51d8a9200 100644
--- a/src/arch/riscv/include/arch/cpu.h
+++ b/src/arch/riscv/include/arch/cpu.h
@@ -6,6 +6,8 @@
#include <arch/encoding.h>
#include <device/device.h>
+static inline void cpu_relax(void) { }
+
#define asmlinkage
struct cpu_driver {