Skip to content

Commit

Permalink
xen: events: update pirq_to_irq in xen_create_msi_irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ian Campbell authored and Konrad Rzeszutek Wilk committed Mar 10, 2011
1 parent 8135591 commit 2e55288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2e55288

Please sign in to comment.