diff options
-rw-r--r-- | arch/mips/kernel/i8259.c | 4 | ||||
-rw-r--r-- | arch/mips/kernel/irq.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c index 197d7977de35..413bd1d37f54 100644 --- a/arch/mips/kernel/i8259.c +++ b/arch/mips/kernel/i8259.c | |||
@@ -338,8 +338,10 @@ void __init init_i8259_irqs(void) | |||
338 | 338 | ||
339 | init_8259A(0); | 339 | init_8259A(0); |
340 | 340 | ||
341 | for (i = I8259A_IRQ_BASE; i < I8259A_IRQ_BASE + 16; i++) | 341 | for (i = I8259A_IRQ_BASE; i < I8259A_IRQ_BASE + 16; i++) { |
342 | set_irq_chip_and_handler(i, &i8259A_chip, handle_level_irq); | 342 | set_irq_chip_and_handler(i, &i8259A_chip, handle_level_irq); |
343 | set_irq_probe(i); | ||
344 | } | ||
343 | 345 | ||
344 | setup_irq(I8259A_IRQ_BASE + PIC_CASCADE_IR, &irq2); | 346 | setup_irq(I8259A_IRQ_BASE + PIC_CASCADE_IR, &irq2); |
345 | } | 347 | } |
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index d06e9c9af790..e3309ff9ece4 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c | |||
@@ -145,6 +145,11 @@ __setup("nokgdb", nokgdb); | |||
145 | 145 | ||
146 | void __init init_IRQ(void) | 146 | void __init init_IRQ(void) |
147 | { | 147 | { |
148 | int i; | ||
149 | |||
150 | for (i = 0; i < NR_IRQS; i++) | ||
151 | set_irq_noprobe(i); | ||
152 | |||
148 | arch_init_irq(); | 153 | arch_init_irq(); |
149 | 154 | ||
150 | #ifdef CONFIG_KGDB | 155 | #ifdef CONFIG_KGDB |