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@xxxxxxxxxx>
---
drivers/xen/events.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 40780fc..db115ff 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -720,6 +720,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,
--
1.5.6.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|