summaryrefslogtreecommitdiffstats
path: root/tools/virtio/asm/barrier.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-09-18 09:28:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-18 09:28:20 -0700
commit00ade1f553e3b947cd26228392ee47d6f0f550e1 (patch)
tree103650aae51d14e271542e068b7c89fec0cf4387 /tools/virtio/asm/barrier.h
parent3ae839454e77cdc87d499a4bfd0932dec5763b55 (diff)
parentad2aa04218de9bd734d593adb0ac59854ec0cb68 (diff)
downloadop-kernel-dev-00ade1f553e3b947cd26228392ee47d6f0f550e1.zip
op-kernel-dev-00ade1f553e3b947cd26228392ee47d6f0f550e1.tar.gz
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio fixes and cleanups from Michael Tsirkin: "This fixes the virtio-test tool, and improves the error handling for virtio-ccw" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: virtio/s390: handle failures of READ_VQ_CONF ccw tools/virtio: propagate V=X to kernel build vhost: move features to core tools/virtio: fix build after 4.2 changes
Diffstat (limited to 'tools/virtio/asm/barrier.h')
-rw-r--r--tools/virtio/asm/barrier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/virtio/asm/barrier.h b/tools/virtio/asm/barrier.h
index aff61e1..26b7926 100644
--- a/tools/virtio/asm/barrier.h
+++ b/tools/virtio/asm/barrier.h
@@ -3,6 +3,8 @@
#define mb() __sync_synchronize()
#define smp_mb() mb()
+# define dma_rmb() barrier()
+# define dma_wmb() barrier()
# define smp_rmb() barrier()
# define smp_wmb() barrier()
/* Weak barriers should be used. If not - it's a bug */
OpenPOWER on IntegriCloud