diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:49:47 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:05 -0400 |
commit | 85c0f90978bf50596dbd23854648020f1f9b5bfd (patch) | |
tree | f66c598bb37b925dd6c74e4ce1fb06345c742c01 /arch/sparc | |
parent | 6da55c3e8da88e8a7cb6452160776ad6706798ad (diff) |
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 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/irq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/irq.c b/arch/sparc/kernel/irq.c index 93e1d1c65290..059598b7e0f0 100644 --- a/arch/sparc/kernel/irq.c +++ b/arch/sparc/kernel/irq.c | |||
@@ -55,6 +55,9 @@ | |||
55 | #define SMP_NOP2 | 55 | #define SMP_NOP2 |
56 | #define SMP_NOP3 | 56 | #define SMP_NOP3 |
57 | #endif /* SMP */ | 57 | #endif /* SMP */ |
58 | |||
59 | int nr_irqs = NR_IRQS; | ||
60 | |||
58 | unsigned long __raw_local_irq_save(void) | 61 | unsigned long __raw_local_irq_save(void) |
59 | { | 62 | { |
60 | unsigned long retval; | 63 | unsigned long retval; |