diff options
author | Mike Travis <travis@sgi.com> | 2009-01-11 01:24:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-11 13:13:29 -0500 |
commit | 9594949b060efe86ecaa1a66839232a3b9800bc9 (patch) | |
tree | 5d0a450fd271c23c838e22f5e6998d24f6921e3c /arch/x86/kernel/io_apic.c | |
parent | c7a3589e7a1f8fdbd2536fe1bfa60b37f5121c69 (diff) |
irq: change references from NR_IRQS to nr_irqs
Impact: preparation, cleanup, add KERN_INFO printk
Modify references from NR_IRQS to nr_irqs as the later will become
variable-sized based on nr_cpu_ids when CONFIG_SPARSE_IRQS=y.
Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r-- | arch/x86/kernel/io_apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c index 1337eab60ecc..ae80638012de 100644 --- a/arch/x86/kernel/io_apic.c +++ b/arch/x86/kernel/io_apic.c | |||
@@ -3183,7 +3183,7 @@ unsigned int create_irq_nr(unsigned int irq_want) | |||
3183 | 3183 | ||
3184 | irq = 0; | 3184 | irq = 0; |
3185 | spin_lock_irqsave(&vector_lock, flags); | 3185 | spin_lock_irqsave(&vector_lock, flags); |
3186 | for (new = irq_want; new < NR_IRQS; new++) { | 3186 | for (new = irq_want; new < nr_irqs; new++) { |
3187 | if (platform_legacy_irq(new)) | 3187 | if (platform_legacy_irq(new)) |
3188 | continue; | 3188 | continue; |
3189 | 3189 | ||