From: Jun S. <ju...@us...> - 2001-10-30 19:12:40
|
Update of /cvsroot/linux-mips/linux/arch/mips/korva In directory usw-pr-cvs1:/tmp/cvs-serv3996 Modified Files: irq_korva.c Log Message: Fix end() so that it will work with probe_irq_on(). Index: irq_korva.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/korva/irq_korva.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- irq_korva.c 2001/10/10 23:50:48 1.3 +++ irq_korva.c 2001/10/30 19:12:37 1.4 @@ -62,7 +62,12 @@ /* the intr status register is already cleared when we read it */ #define korva_irq_ack korva_irq_disable -#define korva_irq_end korva_irq_enable +static void +korva_irq_end(unsigned int irq) +{ + if(!(irq_desc[irq].status & (IRQ_DISABLED | IRQ_INPROGRESS))) + korva_irq_enable(irq); +} static hw_irq_controller korva_irq_controller = { "KORVA_irq", |