[patch] one extra (incorrect) test in mask_ack_irq()

From: Frank Rowand
Date: Wed Mar 18 2009 - 22:32:18 EST



preempt-irqs-core.patch added an incorrect check for the existence of
desc->chip->ack to mask_ack_irq()

Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxxxxx>

--- linux-2.6.29-rc7/kernel/irq/chip.c 2009-03-18 17:58:03.000000000 -0800
+++ linux-2.6.29-rc7_new/kernel/irq/chip.c 2009-03-18 17:59:15.000000000 -0800
@@ -293,7 +293,6 @@ static inline void mask_ack_irq(struct i
if (desc->chip->mask_ack)
desc->chip->mask_ack(irq);
else {
- if (desc->chip->ack)
if (desc->chip->mask)
desc->chip->mask(irq);
if (desc->chip->ack)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/