commit | d0607293c937ec3f3fd1b69ef535a3a282754f9c | [log] [tgz] |
---|---|---|
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | Fri Jul 01 15:24:24 2022 +0100 |
committer | Will Deacon <will@kernel.org> | Fri Jul 01 16:09:00 2022 +0100 |
tree | 2478b59dcccb79c4c235cb9176e18c04fdf0da3b | |
parent | c6590f782be68e5321d3fbd90af2ebe3dbd92550 [diff] |
virtio: Extract init_vq() for PCI and MMIO Modern virtio will need to reuse this code when initializing a virtqueue. It's not much, but still nicer to have next to exit_vq(). Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Link: https://lore.kernel.org/r/20220701142434.75170-3-jean-philippe.brucker@arm.com Signed-off-by: Will Deacon <will@kernel.org>