diff options
Diffstat (limited to 'src/arch/arm/include')
-rw-r--r-- | src/arch/arm/include/armv4/arch/cpu.h | 2 | ||||
-rw-r--r-- | src/arch/arm/include/armv7/arch/cpu.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arm/include/armv4/arch/cpu.h b/src/arch/arm/include/armv4/arch/cpu.h index 8a1b00ebeb..4c6cdf883e 100644 --- a/src/arch/arm/include/armv4/arch/cpu.h +++ b/src/arch/arm/include/armv4/arch/cpu.h @@ -3,6 +3,8 @@ #ifndef __ARCH_CPU_H__ #define __ARCH_CPU_H__ +static inline void cpu_relax(void) { } + #define asmlinkage #endif /* __ARCH_CPU_H__ */ diff --git a/src/arch/arm/include/armv7/arch/cpu.h b/src/arch/arm/include/armv7/arch/cpu.h index 3f1f1ae811..e3154e9488 100644 --- a/src/arch/arm/include/armv7/arch/cpu.h +++ b/src/arch/arm/include/armv7/arch/cpu.h @@ -6,6 +6,8 @@ #include <stdint.h> #include <device/device.h> +static inline void cpu_relax(void) { } + #define asmlinkage struct cpu_driver { |