From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: [PATCH] hibernate: Correct documentation Date: Mon, 13 May 2013 14:00:03 +0200 Message-ID: <1368446403-4896-1-git-send-email-bp@alien8.de> References: <136862945.66DBfZPmr6@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail.skyhub.de ([78.46.96.112]:56441 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251Ab3EMMAH (ORCPT ); Mon, 13 May 2013 08:00:07 -0400 In-Reply-To: <136862945.66DBfZPmr6@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: "Rafael J. Wysocki" Cc: linux-pm@vger.kernel.org, paulmck@linux.vnet.ibm.com, LKML , Borislav Petkov , =?UTF-8?q?Bj=C3=B8rn=20Mork?= =46rom: Borislav Petkov Correct the meaning of PM_HIBERNATION_PREPARE in the docs, as per Rafael. Cc: "Rafael J. Wysocki" Cc: Bj=C3=B8rn Mork Link: http://lkml.kernel.org/r/20130512162717.GA6305@pd.tnic Signed-off-by: Borislav Petkov --- Documentation/power/notifiers.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/power/notifiers.txt b/Documentation/power/no= tifiers.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 notif= iers that will be called upon the following events by the PM core: =20 -PM_HIBERNATION_PREPARE The system is going to hibernate or suspend, ta= sks 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. =20 PM_POST_HIBERNATION The system memory state has been restored from a hibernation image or an error occurred during --=20 1.8.3.rc0