Commit 8129e2a1 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin

tools/virtio: add dma barrier stubs

Fixes: 55e49dc4 ("virtio_ring: switch to dma_XX barriers for rpmsg")
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent d72e90f3
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
} while (0); } while (0);
/* Weak barriers should be used. If not - it's a bug */ /* Weak barriers should be used. If not - it's a bug */
# define mb() abort() # define mb() abort()
# define rmb() abort() # define dma_rmb() abort()
# define wmb() abort() # define dma_wmb() abort()
#else #else
#error Please fill in barrier macros #error Please fill in barrier macros
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment