diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-05-19 19:47:09 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 12:01:25 +0200 |
commit | ce6444d39fdea29dcf145d2d95fe9cdc850aa53c (patch) | |
tree | 7a619f08b73cd516d9c8e5195e23881642c57cfb /arch/x86/kernel/io_apic_64.c | |
parent | bab4b27c00c4880737c18bb91138b1a7dd94164c (diff) |
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.c | 2 |
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 e7f1476ed53..9637675ea55 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; } |