Re: [PATCH] hibernate: Correct documentation

From: Rob Landley
Date: Tue May 14 2013 - 02:34:42 EST


On 05/13/2013 07:00:03 AM, Borislav Petkov wrote:
From: Borislav Petkov <bp@xxxxxxx>

Correct the meaning of PM_HIBERNATION_PREPARE in the docs, as per
Rafael.

Cc: "Rafael J. Wysocki" <rjw@xxxxxxx>
Cc: Bjørn Mork <bjorn@xxxxxxx>
Link: http://lkml.kernel.org/r/20130512162717.GA6305@xxxxxxx
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
Documentation/power/notifiers.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/power/notifiers.txt b/Documentation/power/notifiers.txt
index c2a4a346c0d9..a81fa254303d 100644
--- a/Documentation/power/notifiers.txt
+++ b/Documentation/power/notifiers.txt
@@ -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
will be called upon the following events by the PM core:

-PM_HIBERNATION_PREPARE The system is going to hibernate or suspend, tasks will
- be frozen immediately.
+PM_HIBERNATION_PREPARE The system is going to hibernate, tasks will be frozen
+ immediately. This is different from PM_SUSPEND_PREPARE
+ below because here we do additional work between notifiers
+ and drivers freezing.

Additional work such as...?

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