diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 20:49:48 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:52:05 +0200 |
commit | 0799e432acfda879eaeef9622426bfa1434f3786 (patch) | |
tree | bc9a1d07438c52df08ab1e283ccd0a191b5fe05d /arch/x86/kernel/irqinit_64.c | |
parent | 85c0f90978bf50596dbd23854648020f1f9b5bfd (diff) | |
download | kernel_samsung_smdk4412-0799e432acfda879eaeef9622426bfa1434f3786.zip kernel_samsung_smdk4412-0799e432acfda879eaeef9622426bfa1434f3786.tar.gz kernel_samsung_smdk4412-0799e432acfda879eaeef9622426bfa1434f3786.tar.bz2 |
x86: use nr_irqs
also add first_free_entry and pin_map_size, which were NR_IRQS derived
constants.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/irqinit_64.c')
-rw-r--r-- | arch/x86/kernel/irqinit_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irqinit_64.c b/arch/x86/kernel/irqinit_64.c index 5b5be9d..165c5d9 100644 --- a/arch/x86/kernel/irqinit_64.c +++ b/arch/x86/kernel/irqinit_64.c @@ -142,7 +142,7 @@ void __init init_ISA_irqs(void) init_bsp_APIC(); init_8259A(0); - for (i = 0; i < NR_IRQS; i++) { + for (i = 0; i < nr_irqs; i++) { irq_desc[i].status = IRQ_DISABLED; irq_desc[i].action = NULL; irq_desc[i].depth = 1; |