summaryrefslogtreecommitdiff
path: root/src/include/liburing
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/liburing')
-rw-r--r--src/include/liburing/barrier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/liburing/barrier.h b/src/include/liburing/barrier.h
index fc40a8a..aca308a 100644
--- a/src/include/liburing/barrier.h
+++ b/src/include/liburing/barrier.h
@@ -76,6 +76,7 @@ do { \
* Add arch appropriate definitions. Be safe and use full barriers for
* archs we don't have support for.
*/
+#define io_uring_smp_mb() __sync_synchronize()
#define io_uring_smp_rmb() __sync_synchronize()
#define io_uring_smp_wmb() __sync_synchronize()
#endif /* defined(__x86_64__) || defined(__i386__) */