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/s390 | |
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/s390')
-rw-r--r-- | arch/s390/kernel/irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c index e7c5bfb7c755..14eb5496c8a8 100644 --- a/arch/s390/kernel/irq.c +++ b/arch/s390/kernel/irq.c | |||
@@ -17,6 +17,8 @@ | |||
17 | #include <linux/proc_fs.h> | 17 | #include <linux/proc_fs.h> |
18 | #include <linux/profile.h> | 18 | #include <linux/profile.h> |
19 | 19 | ||
20 | int nr_irqs = NR_IRQS; | ||
21 | |||
20 | /* | 22 | /* |
21 | * show_interrupts is needed by /proc/interrupts. | 23 | * show_interrupts is needed by /proc/interrupts. |
22 | */ | 24 | */ |