OSDN Git Service

virtio_ring: put split ring functions together
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 21 Nov 2018 10:03:20 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 06:17:39 +0000 (22:17 -0800)
commite6f633e5beab659513297f1210b428ce6f46e69c
treeeb0fc8146f95a1e9f0bb979ab9213092b31849f9
parent138fd25148638a93313f8ce703dd4aef2704dcea
virtio_ring: put split ring functions together

Put the xxx_split() functions together to make the
code more readable and avoid misuse after introducing
the packed ring. There is no functional change.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/virtio/virtio_ring.c