git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/virtio: make asm/barrier.h self contained
[sfrench/cifs-2.6.git]
/
tools
/
virtio
/
asm
/
barrier.h
diff --git
a/tools/virtio/asm/barrier.h
b/tools/virtio/asm/barrier.h
index d0351f83aebed9f1ce87c390e586ce45c7068337..04d563fc9b95ca0e80d323e271473492400f7273 100644
(file)
--- a/
tools/virtio/asm/barrier.h
+++ b/
tools/virtio/asm/barrier.h
@@
-1,4
+1,5
@@
/* SPDX-License-Identifier: GPL-2.0 */
+#include <stdlib.h>
#if defined(__i386__) || defined(__x86_64__)
#define barrier() asm volatile("" ::: "memory")
#define virt_mb() __sync_synchronize()