From: matthew_minter <matthew_minter@xxxxxxxxxxx> --- drivers/pci/setup-irq.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html