diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-20 07:49:49 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 18:52:05 +0400 |
commit | 1f45f5621df82033cb4964d03530ade2f9a25e7b (patch) | |
tree | 4f536a6df75a0d0885853c8baabbc7108d54bce3 /drivers/char/hpet.c | |
parent | 0799e432acfda879eaeef9622426bfa1434f3786 (diff) | |
download | linux-1f45f5621df82033cb4964d03530ade2f9a25e7b.tar.xz |
drivers/char: use nr_irqs
convert them to nr_irqs.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/char/hpet.c')
-rw-r--r-- | drivers/char/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c index f3cfb4c76125..408f5f92cb4e 100644 --- a/drivers/char/hpet.c +++ b/drivers/char/hpet.c @@ -219,7 +219,7 @@ static void hpet_timer_set_irq(struct hpet_dev *devp) for (irq = find_first_bit(&v, HPET_MAX_IRQ); irq < HPET_MAX_IRQ; irq = find_next_bit(&v, HPET_MAX_IRQ, 1 + irq)) { - if (irq >= NR_IRQS) { + if (irq >= nr_irqs) { irq = HPET_MAX_IRQ; break; } |