Commit 24649c00 authored by Ralf Baechle's avatar Ralf Baechle Committed by Linus Torvalds

MIPS: Mark all but i8259 interrupts as no-probe.

Use set_irq_noprobe() to mark all MIPS interrupts as non-probe.  Override that
default for i8259 interrupts.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Acked-and-tested-by: default avatarRob Landley <rob@landley.net>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 46f4f8f6
...@@ -338,8 +338,10 @@ void __init init_i8259_irqs(void) ...@@ -338,8 +338,10 @@ void __init init_i8259_irqs(void)
init_8259A(0); init_8259A(0);
for (i = I8259A_IRQ_BASE; i < I8259A_IRQ_BASE + 16; i++) for (i = I8259A_IRQ_BASE; i < I8259A_IRQ_BASE + 16; i++) {
set_irq_chip_and_handler(i, &i8259A_chip, handle_level_irq); set_irq_chip_and_handler(i, &i8259A_chip, handle_level_irq);
set_irq_probe(i);
}
setup_irq(I8259A_IRQ_BASE + PIC_CASCADE_IR, &irq2); setup_irq(I8259A_IRQ_BASE + PIC_CASCADE_IR, &irq2);
} }
...@@ -145,6 +145,11 @@ __setup("nokgdb", nokgdb); ...@@ -145,6 +145,11 @@ __setup("nokgdb", nokgdb);
void __init init_IRQ(void) void __init init_IRQ(void)
{ {
int i;
for (i = 0; i < NR_IRQS; i++)
set_irq_noprobe(i);
arch_init_irq(); arch_init_irq();
#ifdef CONFIG_KGDB #ifdef CONFIG_KGDB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment