--- zzzz-none-000/linux-2.4.17/arch/mips/mips-boards/malta/malta_int.c 2001-09-09 17:43:02.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/arch/mips/mips-boards/malta/malta_int.c 2004-11-24 13:22:38.000000000 +0000 @@ -50,21 +50,14 @@ GT_READ(GT_PCI0_IACK_OFS, irq); irq &= 0xFF; - /* - * IRQ7 is used to detect spurious interrupts. The interrupt - * acknowledge cycle returns IRQ7, if no interrupts is requested. We - * can differentiate between this situation and a "normal" IRQ7 by - * reading the ISR. - */ - if (irq == 7) { - outb(PIIX4_OCW3_SEL | PIIX4_OCW3_ISR, PIIX4_ICTLR1_OCW3); - if (!(inb(PIIX4_ICTLR1_OCW3) & (1 << 7))) - return; /* Spurious interrupt. */ - } - do_IRQ(irq, regs); } +#ifdef CONFIG_REMOTE_DEBUG +extern void breakpoint(void); +extern int remote_debug; +#endif + void __init init_IRQ(void) { set_except_vector(0, mipsIRQ);