Commit 6bc08ed0 authored by Borislav Petkov's avatar Borislav Petkov Committed by Rafael J. Wysocki

PM / hibernate: Correct documentation

Correct the meaning of PM_HIBERNATION_PREPARE in the docs.

References: http://lkml.kernel.org/r/20130512162717.GA6305@pd.tnicSigned-off-by: default avatarBorislav Petkov <bp@suse.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 86fd03d1
...@@ -15,8 +15,10 @@ A suspend/hibernation notifier may be used for this purpose. ...@@ -15,8 +15,10 @@ A suspend/hibernation notifier may be used for this purpose.
The subsystems or drivers having such needs can register suspend notifiers that The subsystems or drivers having such needs can register suspend notifiers that
will be called upon the following events by the PM core: will be called upon the following events by the PM core:
PM_HIBERNATION_PREPARE The system is going to hibernate or suspend, tasks will PM_HIBERNATION_PREPARE The system is going to hibernate, tasks will be frozen
be frozen immediately. immediately. This is different from PM_SUSPEND_PREPARE
below because here we do additional work between notifiers
and drivers freezing.
PM_POST_HIBERNATION The system memory state has been restored from a PM_POST_HIBERNATION The system memory state has been restored from a
hibernation image or an error occurred during hibernation image or an error occurred during
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment