aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/smp.h')
-rw-r--r--src/vppinfra/smp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/smp.h b/src/vppinfra/smp.h
index 7e703b3d6aa..e4ab66ad5c3 100644
--- a/src/vppinfra/smp.h
+++ b/src/vppinfra/smp.h
@@ -47,6 +47,8 @@
#if defined (i386) || defined (__x86_64__)
#define clib_smp_pause() do { asm volatile ("pause"); } while (0)
+#elif defined (__aarch64__) || defined (__arm__)
+#define clib_smp_pause() do { asm volatile ("isb" ::: "memory"); } while (0)
#endif
#ifndef clib_smp_pause