diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-02-18 11:43:36 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-03-10 14:44:44 -0500 |
commit | ca1d8fe9521fb67c95cfa736c08f4bbbc282b5bd (patch) | |
tree | 48b7664b99186bdd29399a5818d348df4f78221d /arch/x86/pci | |
parent | f420e010edd84eb2c237fc87b7451e69740fed46 (diff) |
xen: events: use xen_bind_pirq_msi_to_irq from xen_create_msi_irq
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/xen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c index 15fd981d35f1..ffd8c7a2cdbb 100644 --- a/arch/x86/pci/xen.c +++ b/arch/x86/pci/xen.c | |||
@@ -106,7 +106,7 @@ static int xen_hvm_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) | |||
106 | dev_dbg(&dev->dev, | 106 | dev_dbg(&dev->dev, |
107 | "xen: msi already bound to pirq=%d\n", pirq); | 107 | "xen: msi already bound to pirq=%d\n", pirq); |
108 | } | 108 | } |
109 | irq = xen_bind_pirq_msi_to_irq(dev, msidesc, pirq, | 109 | irq = xen_bind_pirq_msi_to_irq(dev, msidesc, pirq, 0, |
110 | (type == PCI_CAP_ID_MSIX) ? | 110 | (type == PCI_CAP_ID_MSIX) ? |
111 | "msi-x" : "msi"); | 111 | "msi-x" : "msi"); |
112 | if (irq < 0) | 112 | if (irq < 0) |
@@ -145,7 +145,7 @@ static int xen_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) | |||
145 | goto error; | 145 | goto error; |
146 | i = 0; | 146 | i = 0; |
147 | list_for_each_entry(msidesc, &dev->msi_list, list) { | 147 | list_for_each_entry(msidesc, &dev->msi_list, list) { |
148 | irq = xen_bind_pirq_msi_to_irq(dev, msidesc, v[i], | 148 | irq = xen_bind_pirq_msi_to_irq(dev, msidesc, v[i], 0, |
149 | (type == PCI_CAP_ID_MSIX) ? | 149 | (type == PCI_CAP_ID_MSIX) ? |
150 | "pcifront-msi-x" : | 150 | "pcifront-msi-x" : |
151 | "pcifront-msi"); | 151 | "pcifront-msi"); |