Skip to content

Commit

Permalink
MIPS: Mark all but i8259 interrupts as no-probe.
Browse files Browse the repository at this point in the history
Use set_irq_noprobe() to mark all MIPS interrupts as non-probe.  Override that
default for i8259 interrupts.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Acked-and-tested-by: Rob Landley <rob@landley.net>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Ralf Baechle authored and Linus Torvalds committed Feb 8, 2008
1 parent 46f4f8f commit 24649c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/mips/kernel/i8259.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,10 @@ void __init init_i8259_irqs(void)

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_probe(i);
}

setup_irq(I8259A_IRQ_BASE + PIC_CASCADE_IR, &irq2);
}
5 changes: 5 additions & 0 deletions arch/mips/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ __setup("nokgdb", nokgdb);

void __init init_IRQ(void)
{
int i;

for (i = 0; i < NR_IRQS; i++)
set_irq_noprobe(i);

arch_init_irq();

#ifdef CONFIG_KGDB
Expand Down

0 comments on commit 24649c0

Please sign in to comment.