On Tuesday 02 November 2004 16:52, Benjamin Herrenschmidt wrote: > We probably want to provide a global function saying something like > suspend_in_progress() too, just in case a driver want to WARN/BUG_ON, or > actually test if it can do something without having to track the > pre-suspend and post-resume events. yes, better that than defining lots of flags on PM messages (which was the previous notion)