We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd6b28 commit 770f359Copy full SHA for 770f359
tools/virtio/asm/barrier.h
@@ -1,4 +1,5 @@
1
/* SPDX-License-Identifier: GPL-2.0 */
2
+#include <stdlib.h>
3
#if defined(__i386__) || defined(__x86_64__)
4
#define barrier() asm volatile("" ::: "memory")
5
#define virt_mb() __sync_synchronize()
0 commit comments