Re: [RFC][PATCH] PM: Warn if interrupts are enabled during suspend-resume of sysdevs

From: Rafael J. Wysocki
Date: Sat Apr 04 2009 - 18:10:35 EST


On Sunday 05 April 2009, Frans Pop wrote:
> > @@ -377,6 +381,9 @@ int sysdev_suspend(pm_message_t state)
> > if (ret)
> > return ret;
> >
> > + WARN_ONCE(!irqs_disabled(),
> > + "Interrupts enabled while suspending system devices");
> > +
>
> Missing \n ?
>
> > @@ -452,6 +465,9 @@ int sysdev_resume(void)
> > {
> > struct sysdev_class *cls;
> >
> > + WARN_ONCE(!irqs_disabled(),
> > + "Interrupts enabled while resuming system devices");
> > +
>
> Again.

Yes, thank.

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