patch-2.4.10 linux/arch/sh/kernel/irq_imask.c
Next file: linux/arch/sh/kernel/irq_intc2.c
Previous file: linux/arch/sh/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sat Sep 8 12:29:09 2001
- Orig file:
v2.4.9/linux/arch/sh/kernel/irq_imask.c
- Orig date:
Sun Jan 28 18:56:00 2001
diff -u --recursive --new-file v2.4.9/linux/arch/sh/kernel/irq_imask.c linux/arch/sh/kernel/irq_imask.c
@@ -1,4 +1,4 @@
-/* $Id: irq_imask.c,v 1.6 2000/03/06 14:11:32 gniibe Exp $
+/* $Id: irq_imask.c,v 1.13 2001/07/12 08:13:56 gniibe Exp $
*
* linux/arch/sh/kernel/irq_imask.c
*
@@ -99,7 +99,8 @@
static void end_imask_irq(unsigned int irq)
{
- enable_imask_irq(irq);
+ if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS)))
+ enable_imask_irq(irq);
}
static void shutdown_imask_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)