Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-1148: VPPAPIGEN 2nd level import of .api ignored
[vpp.git]
/
src
/
vppinfra
/
smp.h
diff --git
a/src/vppinfra/smp.h
b/src/vppinfra/smp.h
index
7e703b3
..
e4ab66a
100644
(file)
--- 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)
#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
#endif
#ifndef clib_smp_pause