summaryrefslogtreecommitdiffstats
path: root/tools/virtio/asm
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-07-25 16:35:09 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-07-27 16:54:40 +0300
commit8129e2a1cb39bf0df12cc13c9dc7bb581296bd7b (patch)
tree5cacc1054c853bb208ab8dfc2295533a24afa695 /tools/virtio/asm
parentd72e90f33aa4709ebecc5005562f52335e106a60 (diff)
downloadlinux-8129e2a1cb39bf0df12cc13c9dc7bb581296bd7b.tar.gz
linux-8129e2a1cb39bf0df12cc13c9dc7bb581296bd7b.tar.bz2
linux-8129e2a1cb39bf0df12cc13c9dc7bb581296bd7b.zip
tools/virtio: add dma barrier stubs
Fixes: 55e49dc43a8 ("virtio_ring: switch to dma_XX barriers for rpmsg") Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio/asm')
-rw-r--r--tools/virtio/asm/barrier.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/virtio/asm/barrier.h b/tools/virtio/asm/barrier.h
index 0ac3caf90877..d0351f83aebe 100644
--- a/tools/virtio/asm/barrier.h
+++ b/tools/virtio/asm/barrier.h
@@ -13,8 +13,8 @@
} while (0);
/* Weak barriers should be used. If not - it's a bug */
# define mb() abort()
-# define rmb() abort()
-# define wmb() abort()
+# define dma_rmb() abort()
+# define dma_wmb() abort()
#else
#error Please fill in barrier macros
#endif