mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 07:04:10 +08:00
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:
parent
d72e90f33a
commit
8129e2a1cb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user