Message ID | 20160726025625.7343-8-brian.brooks@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/platform/linux-generic/arch/arm/cpu_arch.h b/platform/linux-generic/arch/arm/cpu_arch.h index 0d52616..bdd3335 100644 --- a/platform/linux-generic/arch/arm/cpu_arch.h +++ b/platform/linux-generic/arch/arm/cpu_arch.h @@ -15,6 +15,9 @@ extern "C" { static inline void _odp_cpu_pause(void) { +#if defined(__aarch64__) + __asm__ volatile("yield"); +#endif } #ifdef __cplusplus
Signed-off-by: Brian Brooks <brian.brooks@linaro.org> --- platform/linux-generic/arch/arm/cpu_arch.h | 3 +++ 1 file changed, 3 insertions(+) -- 2.9.0