Message ID | 1407255083-9356-8-git-send-email-matthew_minter@xyratex.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
diff --git a/drivers/pci/setup-irq.c b/drivers/pci/setup-irq.c index a994e07..7bb4356 100644 --- a/drivers/pci/setup-irq.c +++ b/drivers/pci/setup-irq.c @@ -30,6 +30,11 @@ void pdev_assign_irq(struct pci_dev *dev, u8 slot = -1; int irq = 0; + if (!map_irq) { + dev_dbg(&dev->dev, "map_irq not provided by arch\n", dev->irq); + return; + } + /* If this device is not on the primary bus, we need to figure out which interrupt pin it will come in on. We know which slot it will come in on 'cos that slot is where the bridge is. Each
From: matthew_minter <matthew_minter@xyratex.com> --- drivers/pci/setup-irq.c | 5 +++++ 1 file changed, 5 insertions(+)