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>
This commit is contained in:
Ian Campbell 2011-02-18 16:43:34 +00:00 committed by Konrad Rzeszutek Wilk
parent 8135591e90
commit 2e55288f63

View File

@ -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,