aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/ints.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/ints.c')
-rw-r--r--arch/m68k/kernel/ints.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/m68k/kernel/ints.c b/arch/m68k/kernel/ints.c
index 514d323ad536..4b85514792e7 100644
--- a/arch/m68k/kernel/ints.c
+++ b/arch/m68k/kernel/ints.c
@@ -95,6 +95,12 @@ void __init init_IRQ(void)
95{ 95{
96 int i; 96 int i;
97 97
98 /* assembly irq entry code relies on this... */
99 if (HARDIRQ_MASK != 0x00ff0000) {
100 extern void hardirq_mask_is_broken(void);
101 hardirq_mask_is_broken();
102 }
103
98 for (i = 0; i < SYS_IRQS; i++) { 104 for (i = 0; i < SYS_IRQS; i++) {
99 if (mach_default_handler) 105 if (mach_default_handler)
100 irq_list[i].handler = (*mach_default_handler)[i]; 106 irq_list[i].handler = (*mach_default_handler)[i];