diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-02-23 20:27:48 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-24 11:01:34 -0800 |
commit | 28c6a0ba30457380b140d9d7a61530eda8969180 (patch) | |
tree | 946d3d45f5aa8656727a7488f8a4ef3398768353 /arch/x86/kernel/apic | |
parent | 3746c6b6e26b8ad605f11b43e54acb3481d40980 (diff) | |
download | kernel_samsung_smdk4412-28c6a0ba30457380b140d9d7a61530eda8969180.zip kernel_samsung_smdk4412-28c6a0ba30457380b140d9d7a61530eda8969180.tar.gz kernel_samsung_smdk4412-28c6a0ba30457380b140d9d7a61530eda8969180.tar.bz2 |
x86, legacy_irq: Remove left over nr_legacy_irqs
nr_legacy_irqs and its ilk have moved to legacy_pic.
-v2: there is one in ioapic_.c
Singed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4B84AAC4.2020204@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/apic')
-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 8c848b5..b9d08f0 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 * controllers like 8259. Now that IO-APIC can handle this irq, update * the cfg->domain. */ - if (irq < nr_legacy_irqs && cpumask_test_cpu(0, cfg->domain)) + if (irq < legacy_pic->nr_legacy_irqs && cpumask_test_cpu(0, cfg->domain)) apic->vector_allocation_domain(0, cfg->domain); if (assign_irq_vector(irq, cfg, apic->target_cpus())) |