Re: [PATCH 1/10] PM: Rework handling of interrupts during suspend-resume(rev. 5)

From: Thomas Gleixner
Date: Wed Mar 11 2009 - 17:38:17 EST


On Wed, 11 Mar 2009, Rafael J. Wysocki wrote:
> On Wednesday 11 March 2009, Thomas Gleixner wrote:
> > > + desc->status |= IRQ_SUSPENDED;
> >
> > This flag needs to be checked in __enable_irq().
>
> [I overlooked this comment, sorry.]
>
> Why does it?

To catch abuse and callers of enable_irq() when this flag is set.

Thanks,

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/