From: Jan Beulich Date: Wed, 2 Mar 2011 10:24:28 +0000 (+0000) Subject: xen/fbfront: fix regression from c/s 1068 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7a3598f4fe40d6d772f7b071030d0b2cf23f4e93;p=legacy%2Flinux-2.6.18-xen.git xen/fbfront: fix regression from c/s 1068 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 --- diff --git a/drivers/xen/fbfront/xenfb.c b/drivers/xen/fbfront/xenfb.c index 912808a6..5e8116df 100644 --- a/drivers/xen/fbfront/xenfb.c +++ b/drivers/xen/fbfront/xenfb.c @@ -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",