patch-2.4.10 linux/arch/sh/kernel/irq_ipr.c
Next file: linux/arch/sh/kernel/irq_maskreg.c
Previous file: linux/arch/sh/kernel/irq_intc2.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Sat Sep 8 12:29:09 2001
- Orig file:
v2.4.9/linux/arch/sh/kernel/irq_ipr.c
- Orig date:
Tue Jul 3 17:08:18 2001
diff -u --recursive --new-file v2.4.9/linux/arch/sh/kernel/irq_ipr.c linux/arch/sh/kernel/irq_ipr.c
@@ -1,4 +1,4 @@
-/* $Id: irq_ipr.c,v 1.6 2000/05/14 08:41:25 gniibe Exp $
+/* $Id: irq_ipr.c,v 1.20 2001/07/15 23:26:56 gniibe Exp $
*
* linux/arch/sh/kernel/irq_ipr.c
*
@@ -102,7 +102,8 @@
static void end_ipr_irq(unsigned int irq)
{
- enable_ipr_irq(irq);
+ if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS)))
+ enable_ipr_irq(irq);
}
void make_ipr_irq(unsigned int irq, unsigned int addr, int pos, int priority)
@@ -176,7 +177,8 @@
static void end_pint_irq(unsigned int irq)
{
- enable_pint_irq(irq);
+ if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS)))
+ enable_pint_irq(irq);
}
void make_pint_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)