Browse Source

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>
Michael S. Tsirkin 7 years ago
parent
commit
8129e2a1cb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/virtio/asm/barrier.h

+ 2 - 2
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