diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/kernel/ints.c | 2 | ||||
-rw-r--r-- | arch/s390/kernel/irq.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/irq.c | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/arch/m68k/kernel/ints.c b/arch/m68k/kernel/ints.c index 7e8a0d394e61..74453d15692e 100644 --- a/arch/m68k/kernel/ints.c +++ b/arch/m68k/kernel/ints.c | |||
@@ -46,6 +46,8 @@ | |||
46 | #include <asm/q40ints.h> | 46 | #include <asm/q40ints.h> |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | int nr_irqs = NR_IRQS; | ||
50 | |||
49 | extern u32 auto_irqhandler_fixup[]; | 51 | extern u32 auto_irqhandler_fixup[]; |
50 | extern u32 user_irqhandler_fixup[]; | 52 | extern u32 user_irqhandler_fixup[]; |
51 | extern u16 user_irqvec_fixup[]; | 53 | extern u16 user_irqvec_fixup[]; |
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 | */ |
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; |