summaryrefslogtreecommitdiffstats
path: root/mm/percpu.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-10-16 23:56:14 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-12-18 15:20:31 +1030
commit06ca287dbac9cc19d04ac2901b8c4882c03795ff (patch)
tree37574b40e4b18070fe92e88f722035159aa341fb /mm/percpu.c
parent1ce6853aa0f8e1cc3ae811a85d50cde6ad0ef735 (diff)
downloadop-kernel-dev-06ca287dbac9cc19d04ac2901b8c4882c03795ff.zip
op-kernel-dev-06ca287dbac9cc19d04ac2901b8c4882c03795ff.tar.gz
virtio: move queue_index and num_free fields into core struct virtqueue.
They're generic concepts, so hoist them. This also avoids accessor functions (though kept around for merge with DaveM's net tree). This goes even further than Jason Wang's 17bb6d4088 patch ("virtio-ring: move queue_index to vring_virtqueue") which moved the queue_index from the specific transport. Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud