virtio: hand virtio ring alignment as argument to vring_new_virtqueue
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Dec 2008 15:26:03 +0000 (09:26 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Dec 2008 22:56:03 +0000 (09:26 +1030)
commit87c7d57c17ade5024d95b6ca0da249da49b0672a
tree2ffeaae5c2e5ed9a72efec6466678fb797c4cdfa
parentdb40598863e8cbbd11053ad3c8bae89000f603f9
virtio: hand virtio ring alignment as argument to vring_new_virtqueue

This allows each virtio user to hand in the alignment appropriate to
their virtio_ring structures.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
drivers/lguest/lguest_device.c
drivers/s390/kvm/kvm_virtio.c
drivers/virtio/virtio_pci.c
drivers/virtio/virtio_ring.c
include/linux/virtio_ring.h