aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virtio/virtio_ring.c')
-rw-r--r--drivers/virtio/virtio_ring.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 74c245092b5c..3a28c1382131 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -266,6 +266,7 @@ irqreturn_t vring_interrupt(int irq, void *_vq)
266 266
267 return IRQ_HANDLED; 267 return IRQ_HANDLED;
268} 268}
269EXPORT_SYMBOL_GPL(vring_interrupt);
269 270
270static struct virtqueue_ops vring_vq_ops = { 271static struct virtqueue_ops vring_vq_ops = {
271 .add_buf = vring_add_buf, 272 .add_buf = vring_add_buf,
@@ -318,9 +319,12 @@ struct virtqueue *vring_new_virtqueue(unsigned int num,
318 319
319 return &vq->vq; 320 return &vq->vq;
320} 321}
322EXPORT_SYMBOL_GPL(vring_new_virtqueue);
321 323
322void vring_del_virtqueue(struct virtqueue *vq) 324void vring_del_virtqueue(struct virtqueue *vq)
323{ 325{
324 kfree(to_vvq(vq)); 326 kfree(to_vvq(vq));
325} 327}
328EXPORT_SYMBOL_GPL(vring_del_virtqueue);
326 329
330MODULE_LICENSE("GPL");