diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 20:49:47 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:52:05 +0200 |
commit | 85c0f90978bf50596dbd23854648020f1f9b5bfd (patch) | |
tree | f66c598bb37b925dd6c74e4ce1fb06345c742c01 /kernel/irq/resend.c | |
parent | 6da55c3e8da88e8a7cb6452160776ad6706798ad (diff) | |
download | kernel_samsung_espresso10-85c0f90978bf50596dbd23854648020f1f9b5bfd.zip kernel_samsung_espresso10-85c0f90978bf50596dbd23854648020f1f9b5bfd.tar.gz kernel_samsung_espresso10-85c0f90978bf50596dbd23854648020f1f9b5bfd.tar.bz2 |
irq: introduce nr_irqs
at this point nr_irqs is equal NR_IRQS
convert a few easy users from NR_IRQS to dynamic nr_irqs.
v2: according to Eric, we need to take care of arch without generic_hardirqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq/resend.c')
-rw-r--r-- | kernel/irq/resend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/resend.c b/kernel/irq/resend.c index a804679..cba8aa5 100644 --- a/kernel/irq/resend.c +++ b/kernel/irq/resend.c @@ -33,8 +33,8 @@ static void resend_irqs(unsigned long arg) struct irq_desc *desc; int irq; - while (!bitmap_empty(irqs_resend, NR_IRQS)) { - irq = find_first_bit(irqs_resend, NR_IRQS); + while (!bitmap_empty(irqs_resend, nr_irqs)) { + irq = find_first_bit(irqs_resend, nr_irqs); clear_bit(irq, irqs_resend); desc = irq_desc + irq; local_irq_disable(); |