Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
8129e2a1cb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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