summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-03-11 20:32:01 +0800
committerAndy Green <andy.green@linaro.org>2012-03-13 11:20:36 +0800
commitb9b80f2282f7a6e18b29d130bed692bbee8eb828 (patch)
tree85885b4e17526146b1577287f2c441c1c4daac69
parent0df008e33cb0f3612127f7f6dae9d3f1aee9e39c (diff)
uplevel vring_new_virtqueue args changed
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--arch/arm/plat-omap/omap_rpmsg.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/omap_rpmsg.c b/arch/arm/plat-omap/omap_rpmsg.c
index c413245af97..ebe9eb1e246 100644
--- a/arch/arm/plat-omap/omap_rpmsg.c
+++ b/arch/arm/plat-omap/omap_rpmsg.c
@@ -338,8 +338,12 @@ static struct virtqueue *rp_find_vq(struct virtio_device *vdev,
pr_debug("vring%d: phys 0x%x, virt 0x%x\n", index, rpdev->vring[index],
(unsigned int) rpvq->addr);
- vq = vring_new_virtqueue(RPMSG_NUM_BUFS / 2, RPMSG_VRING_ALIGN, vdev,
- rpvq->addr, omap_rpmsg_notify, callback, name);
+ vq = vring_new_virtqueue(RPMSG_NUM_BUFS / 2,
+ RPMSG_VRING_ALIGN,
+ vdev,
+ false, /* AG: new param, guessed */
+ rpvq->addr, /* existing param left in */
+ omap_rpmsg_notify, callback, name);
if (!vq) {
pr_err("vring_new_virtqueue failed\n");
err = -ENOMEM;