public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-pm@vger.kernel.org, paulmck@linux.vnet.ibm.com,
	LKML <linux-kernel@vger.kernel.org>,
	"Borislav Petkov" <bp@suse.de>, "Bjørn Mork" <bjorn@mork.no>
Subject: [PATCH] hibernate: Correct documentation
Date: Mon, 13 May 2013 14:00:03 +0200	[thread overview]
Message-ID: <1368446403-4896-1-git-send-email-bp@alien8.de> (raw)
In-Reply-To: <136862945.66DBfZPmr6@vostro.rjw.lan>

From: Borislav Petkov <bp@suse.de>

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

Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Bjørn Mork <bjorn@mork.no>
Link: http://lkml.kernel.org/r/20130512162717.GA6305@pd.tnic
Signed-off-by: Borislav Petkov <bp@suse.de>
---
 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.
 
 PM_POST_HIBERNATION	The system memory state has been restored from a
 			hibernation image or an error occurred during
-- 
1.8.3.rc0


       reply	other threads:[~2013-05-13 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <136862945.66DBfZPmr6@vostro.rjw.lan>
2013-05-13 12:00 ` Borislav Petkov [this message]
2013-05-14  6:34   ` [PATCH] hibernate: Correct documentation Rob Landley
2013-05-14  7:42     ` Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1368446403-4896-1-git-send-email-bp@alien8.de \
    --to=bp@alien8.de \
    --cc=bjorn@mork.no \
    --cc=bp@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox