virtio_ring: expose virtio barriers for use in vringh.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 18 Mar 2013 02:52:19 +0000 (13:22 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Mar 2013 03:30:41 +0000 (14:00 +1030)
commita9a0fef779074838230e04a322fd2bdc921f4f4f
treea7d25b5002e84ac3df54788ec2620ccc1f7c2c21
parent73640c991e2f2804939af70567b23e4c54b7c266
virtio_ring: expose virtio barriers for use in vringh.

The host side of ring needs this logic too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_ring.c
include/linux/virtio_ring.h