summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic_64.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy2008-05-19 17:47:09 +0200
committerThomas Gleixner2008-05-25 12:01:25 +0200
commitce6444d39fdea29dcf145d2d95fe9cdc850aa53c (patch)
tree7a619f08b73cd516d9c8e5195e23881642c57cfb /arch/x86/kernel/io_apic_64.c
parentx86: move smp_found_config (diff)
downloadkernel-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_64.c')
-rw-r--r--arch/x86/kernel/io_apic_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c
index e7f1476ed537..9637675ea555 100644
--- a/arch/x86/kernel/io_apic_64.c
+++ b/arch/x86/kernel/io_apic_64.c
@@ -516,7 +516,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)) {
apic_printk(APIC_VERBOSE, "PCI BIOS passed nonexistent PCI bus %d!\n", bus);
return -1;
}