]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
xen/fbfront: fix regression from c/s 1068
authorJan Beulich <jbeulich@novell.com>
Wed, 2 Mar 2011 10:24:28 +0000 (10:24 +0000)
committerJan Beulich <jbeulich@novell.com>
Wed, 2 Mar 2011 10:24:28 +0000 (10:24 +0000)
Unfortunately we managed to not catch in our automatic testing this
oversight during the porting of the corresponding pv-ops patch
(info->irq now getting set later, which doesn't matter for pv-ops as
that has the event channel at hand).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/fbfront/xenfb.c

index 912808a672917df14080f98b102bb203504e0833..5e8116df1c69485f4f45138917e7bd3af8b3132e 100644 (file)
@@ -757,7 +757,7 @@ static int xenfb_connect_backend(struct xenbus_device *dev,
        if (ret)
                goto error_xenbus;
        ret = xenbus_printf(xbt, dev->nodename, "event-channel", "%u",
-                           irq_to_evtchn_port(info->irq));
+                           irq_to_evtchn_port(irq));
        if (ret)
                goto error_xenbus;
        ret = xenbus_printf(xbt, dev->nodename, "protocol", "%s",