diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-02-18 17:43:34 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-03-10 20:44:42 +0100 |
commit | 2e55288f63343f0810f4f0a3004f78037cfb93d3 (patch) | |
tree | b44a9ccfd260436bc0c1fcdc1b4644da609d7a5d /drivers/xen | |
parent | xen: events: refactor xen_create_msi_irq slightly (diff) | |
download | linux-2e55288f63343f0810f4f0a3004f78037cfb93d3.tar.xz linux-2e55288f63343f0810f4f0a3004f78037cfb93d3.zip |
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/xen')
-rw-r--r-- | 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 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, |