]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/io_apic.c
irq: change references from NR_IRQS to nr_irqs
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / io_apic.c
index 1337eab60ecc0ccf0d219e69d0698706a77b67c4..ae80638012dec8c93bf33c908b90dcbbbe8f509c 100644 (file)
@@ -3183,7 +3183,7 @@ unsigned int create_irq_nr(unsigned int irq_want)
 
        irq = 0;
        spin_lock_irqsave(&vector_lock, flags);
-       for (new = irq_want; new < NR_IRQS; new++) {
+       for (new = irq_want; new < nr_irqs; new++) {
                if (platform_legacy_irq(new))
                        continue;