]> 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>
Wed, 5 Oct 2011 01:01:21 +0000 (12:01 +1100)
commit8acab230286c26f65c8ffc5e10f57b79e67a4bc9
tree7c947c239e1d8585ca8fb495d741a8cdeea18236
parentf9778723ee6cb2c6f7752450996b50f47d2e1dd6
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