tools/virtio: add dma barrier stubs
Fixes: 55e49dc43a
("virtio_ring: switch to dma_XX barriers for rpmsg")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Родитель
d72e90f33a
Коммит
8129e2a1cb
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче