diff options
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 8c848b5877a..b9d08f0e1e3 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -1440,7 +1440,7 @@ static void setup_IO_APIC_irq(int apic_id, int pin, unsigned int irq, struct irq | |||
1440 | * controllers like 8259. Now that IO-APIC can handle this irq, update | 1440 | * controllers like 8259. Now that IO-APIC can handle this irq, update |
1441 | * the cfg->domain. | 1441 | * the cfg->domain. |
1442 | */ | 1442 | */ |
1443 | if (irq < nr_legacy_irqs && cpumask_test_cpu(0, cfg->domain)) | 1443 | if (irq < legacy_pic->nr_legacy_irqs && cpumask_test_cpu(0, cfg->domain)) |
1444 | apic->vector_allocation_domain(0, cfg->domain); | 1444 | apic->vector_allocation_domain(0, cfg->domain); |
1445 | 1445 | ||
1446 | if (assign_irq_vector(irq, cfg, apic->target_cpus())) | 1446 | if (assign_irq_vector(irq, cfg, apic->target_cpus())) |