We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec711bf commit c4e5505Copy full SHA for c4e5505
storage/innobase/include/ut0ut.h
@@ -115,6 +115,8 @@ to memory). */
115
the YieldProcessor macro defined in WinNT.h. It is a CPU architecture-
116
independent way by using YieldProcessor. */
117
#define UT_RELAX_CPU() YieldProcessor()
118
+#elif defined(__aarch64__)
119
+#define UT_RELAX_CPU() __asm__ __volatile__("isb" ::: "memory")
120
#else
121
#define UT_RELAX_CPU() __asm__ __volatile__("" ::: "memory")
122
#endif
0 commit comments