diff options
author | David Brownell <david-b@pacbell.net> | 2006-08-14 23:11:08 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-25 21:08:37 -0700 |
commit | f1cc0a894c963923b766eb2d455747495e6e982d (patch) | |
tree | cccd3a2c337f0117d664e204eedf5c222a6c43f7 /drivers/base | |
parent | 185849991d592497e43bcd264c6152af1261ffe2 (diff) | |
download | linux-3.10-f1cc0a894c963923b766eb2d455747495e6e982d.tar.gz linux-3.10-f1cc0a894c963923b766eb2d455747495e6e982d.tar.bz2 linux-3.10-f1cc0a894c963923b766eb2d455747495e6e982d.zip |
PM: issue PM_EVENT_PRETHAW
This patch is the first of this series that should actually change any
behavior ... by issuing the new event, now tha the rest of the kernel is
prepared to receive it.
This converts the PM core to issue the new PRETHAW message, which the rest of
the kernel is now ready to receive.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/power/suspend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/suspend.c b/drivers/base/power/suspend.c index 0bda4a7f204..e86db83746a 100644 --- a/drivers/base/power/suspend.c +++ b/drivers/base/power/suspend.c @@ -34,6 +34,7 @@ static inline char *suspend_verb(u32 event) switch (event) { case PM_EVENT_SUSPEND: return "suspend"; case PM_EVENT_FREEZE: return "freeze"; + case PM_EVENT_PRETHAW: return "prethaw"; default: return "(unknown suspend event)"; } } |