aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 23:49:47 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:05 -0400
commit85c0f90978bf50596dbd23854648020f1f9b5bfd (patch)
treef66c598bb37b925dd6c74e4ce1fb06345c742c01 /arch/m68k
parent6da55c3e8da88e8a7cb6452160776ad6706798ad (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/m68k')
-rw-r--r--arch/m68k/kernel/ints.c2
1 files changed, 2 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
49int nr_irqs = NR_IRQS;
50
49extern u32 auto_irqhandler_fixup[]; 51extern u32 auto_irqhandler_fixup[];
50extern u32 user_irqhandler_fixup[]; 52extern u32 user_irqhandler_fixup[];
51extern u16 user_irqvec_fixup[]; 53extern u16 user_irqvec_fixup[];