commit 6afa1c6190de8132a0c5ab8c38272378be1c4c22
Author: François Trahay <francois.trahay@telecom-sudparis.eu>
Date:   Mon Aug 22 17:41:39 2022 +0200

    yield is not available on **all** ARM CPUs

diff --git a/src/core/include/eztrace-core/eztrace_spinlock.h b/src/core/include/eztrace-core/eztrace_spinlock.h
index 05681fd2..d74249c5 100644
--- a/src/core/include/eztrace-core/eztrace_spinlock.h
+++ b/src/core/include/eztrace-core/eztrace_spinlock.h
@@ -18,7 +18,7 @@ typedef volatile atomic_flag ezt_spinlock;
 #if defined(__x86_64__)
 #include <immintrin.h>
 #define PAUSE  _mm_pause()
-#elif defined(__arm__)
+#elif defined(__aarch64__) || defined(__arm64__)
 #define PAUSE __asm__ __volatile__ ("yield")
 #else
 #define PAUSE
