patch-2.4.10 linux/arch/sh/kernel/setup_ec3104.c
Next file: linux/arch/sh/kernel/setup_hd64461.c
Previous file: linux/arch/sh/kernel/setup_dc.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat Sep 8 12:29:09 2001
- Orig file:
v2.4.9/linux/arch/sh/kernel/setup_ec3104.c
- Orig date:
Sun May 20 12:11:38 2001
diff -u --recursive --new-file v2.4.9/linux/arch/sh/kernel/setup_ec3104.c linux/arch/sh/kernel/setup_ec3104.c
@@ -167,7 +167,8 @@
static void end_ec3104_irq(unsigned int irq)
{
- unmask_ec3104_irq(irq);
+ if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS)))
+ unmask_ec3104_irq(irq);
}
static unsigned int startup_ec3104_irq(unsigned int irq)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)