RE: [BUG][RFC] [GENERIC IRQ] irq_chip_set_defaults shutdown /disable

From: Thomas Gleixner
Date: Mon Feb 18 2008 - 15:47:46 EST


On Mon, 18 Feb 2008, Hennerich, Michael wrote:
> >From: Thomas Gleixner Montag, 18. Februar 2008 18:49
> >+static void default_shutdown(unsigned int irq)
> >+{
> >+ struct irq_desc *desc = irq_desc + irq;
> >+
> >+ desc->chip->mask(irq);
> >+ desc->status &= ~IRQ_MASKED;

Needs to be |= IRQ_MASKED of course.

Thanks, Michael for pointing it out.

tglx
--
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/