summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-02-18 16:43:34 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-03-10 14:44:42 -0500
commit2e55288f63343f0810f4f0a3004f78037cfb93d3 (patch)
treeb44a9ccfd260436bc0c1fcdc1b4644da609d7a5d /drivers
parent8135591e90c81462a6902f6ffa1f1ca021db077a (diff)
downloadlinux-2e55288f63343f0810f4f0a3004f78037cfb93d3.tar.bz2
xen: events: update pirq_to_irq in xen_create_msi_irq
I don't think this was a deliberate ommision. Makes the tail end of this function look even more like xen_bind_pirq_msi_to_irq. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index b54285e27b3b..721b393fd8aa 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -730,6 +730,7 @@ int xen_create_msi_irq(struct pci_dev *dev, struct msi_desc *msidesc, int type)
goto out;
irq_info[irq] = mk_pirq_info(0, map_irq.pirq, 0, map_irq.index);
+ pirq_to_irq[map_irq.pirq] = irq;
set_irq_chip_and_handler_name(irq, &xen_pirq_chip,
handle_level_irq,