]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: modify vring_init and vring_size to take account of the layout containing...
authorWang Sheng-Hui <shhuiw@gmail.com>
Mon, 29 Aug 2011 07:55:59 +0000 (15:55 +0800)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 00:15:23 +0000 (11:15 +1100)
commit03afce3ad2397854d5a274f50a3c4b16d1752f23
treec224deabc928142500b81b41bb6615e7d8d81773
parenteb085896b3ad1d34286913fcdc0de38b48457d4c
virtio: modify vring_init and vring_size to take account of the layout containing *_event_idx

Based on the layout description in the comments, take account of
the *_event_idx in functions vring_init and vring_size.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/virtio_ring.h