aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-pciback
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/xen-pciback')
-rw-r--r--drivers/xen/xen-pciback/pciback_ops.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c
index 6c398fde7a83..28a2a5584831 100644
--- a/drivers/xen/xen-pciback/pciback_ops.c
+++ b/drivers/xen/xen-pciback/pciback_ops.c
@@ -48,6 +48,13 @@ void pciback_control_isr(struct pci_dev *dev, int reset)
48 if (enable) 48 if (enable)
49 dev_data->irq = dev->irq; 49 dev_data->irq = dev->irq;
50 50
51 /*
52 * SR-IOV devices in all use MSI-X and have no legacy
53 * interrupts, so inhibit creating a fake IRQ handler for them.
54 */
55 if (dev_data->irq == 0)
56 goto out;
57
51 dev_dbg(&dev->dev, "%s: #%d %s %s%s %s-> %s\n", 58 dev_dbg(&dev->dev, "%s: #%d %s %s%s %s-> %s\n",
52 dev_data->irq_name, 59 dev_data->irq_name,
53 dev_data->irq, 60 dev_data->irq,