Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b17d5c6e authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

tools/virtio: stub out strong barriers



The tool should never use them, abort if it does.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent b0820a50
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -181,6 +181,9 @@ struct virtqueue {
#define smp_mb()	mb()
# define smp_rmb()	barrier()
# define smp_wmb()	barrier()
/* Weak barriers should be used. If not - it's a bug */
# define rmb()	abort()
# define wmb()	abort()
#else
#error Please fill in barrier macros
#endif