diff options
Diffstat (limited to 'drivers/lguest')
-rw-r--r-- | drivers/lguest/lguest_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/lguest_device.c b/drivers/lguest/lguest_device.c index 9e8388efd88e..ccb7dfb028fa 100644 --- a/drivers/lguest/lguest_device.c +++ b/drivers/lguest/lguest_device.c | |||
@@ -296,7 +296,7 @@ static struct virtqueue *lg_find_vq(struct virtio_device *vdev, | |||
296 | * to 'true': the host just a(nother) SMP CPU, so we only need inter-cpu | 296 | * to 'true': the host just a(nother) SMP CPU, so we only need inter-cpu |
297 | * barriers. | 297 | * barriers. |
298 | */ | 298 | */ |
299 | vq = vring_new_virtqueue(lvq->config.num, LGUEST_VRING_ALIGN, vdev, | 299 | vq = vring_new_virtqueue(index, lvq->config.num, LGUEST_VRING_ALIGN, vdev, |
300 | true, lvq->pages, lg_notify, callback, name); | 300 | true, lvq->pages, lg_notify, callback, name); |
301 | if (!vq) { | 301 | if (!vq) { |
302 | err = -ENOMEM; | 302 | err = -ENOMEM; |