]> git.proxmox.com Git - qemu.git/blobdiff - qemu-barrier.h
Introduce a 'client_add' monitor command accepting an open FD
[qemu.git] / qemu-barrier.h
index 3bd1075d663958755d9a4c3ef02773533aba4a36..b77fce23a95962ad29b2526f6a313eae39381047 100644 (file)
@@ -4,4 +4,7 @@
 /* FIXME: arch dependant, x86 version */
 #define smp_wmb()   asm volatile("" ::: "memory")
 
+/* Compiler barrier */
+#define barrier()   asm volatile("" ::: "memory")
+
 #endif