diff options
author | Alexey Starikovskiy | 2008-05-19 17:47:09 +0200 |
---|---|---|
committer | Thomas Gleixner | 2008-05-25 12:01:25 +0200 |
commit | ce6444d39fdea29dcf145d2d95fe9cdc850aa53c (patch) | |
tree | 7a619f08b73cd516d9c8e5195e23881642c57cfb /arch/x86/kernel/io_apic_32.c | |
parent | x86: move smp_found_config (diff) | |
download | kernel-qcow2-linux-ce6444d39fdea29dcf145d2d95fe9cdc850aa53c.tar.gz kernel-qcow2-linux-ce6444d39fdea29dcf145d2d95fe9cdc850aa53c.tar.xz kernel-qcow2-linux-ce6444d39fdea29dcf145d2d95fe9cdc850aa53c.zip |
x86: mp_bus_id_to_pci_bus is not needed
Diffstat (limited to 'arch/x86/kernel/io_apic_32.c')
-rw-r--r-- | arch/x86/kernel/io_apic_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index ea68c3e5ba1d..17b2e8f862d3 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c @@ -864,7 +864,7 @@ int IO_APIC_get_PCI_irq_vector(int bus, int slot, int pin) apic_printk(APIC_DEBUG, "querying PCI -> IRQ mapping bus:%d, " "slot:%d, pin:%d.\n", bus, slot, pin); - if (mp_bus_id_to_pci_bus[bus] == -1) { + if (test_bit(bus, mp_bus_not_pci)) { printk(KERN_WARNING "PCI BIOS passed nonexistent PCI bus %d!\n", bus); return -1; } |