commit | e0a5fd9383f678542ceabcf828ee971781b1d0ae | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Jul 15 16:23:41 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 28 10:36:22 2015 -0600 |
tree | b62a30a13a57f77ce5d1f68fa6984478fbc64399 | |
parent | da5d463876882e3c9e0a4c123ab195aa79f68990 [diff] [blame] |
x86: pci: Do not assign irq 0 to pci device IRQ 0 is reserved and should not be assigned to pci device. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
diff --git a/arch/x86/cpu/pci.c b/arch/x86/cpu/pci.c index fdfd5f7..f8da080 100644 --- a/arch/x86/cpu/pci.c +++ b/arch/x86/cpu/pci.c
@@ -172,6 +172,8 @@ continue; line = irq[pin - 1]; + if (!line) + continue; debug("Assigning IRQ %d to PCI device %d.%x.%d (INT%c)\n", line, bus, device, func, 'A' + pin - 1);