Hibernation: Add PM_RESTORE_PREPARE and PM_POST_RESTORE notifiers (rev. 2)
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 19 Nov 2007 22:38:25 +0000 (23:38 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:53 +0000 (18:30 -0500)
commitc3e94d899c864e558f938f9845ddb8c2e5d5ccd0
treecdc2d5007e2d8053ab1903f9e66c46dca9a9de81
parent2f8ed1c60b06b797bf79a1dc540f0bed8c9d75a0
Hibernation: Add PM_RESTORE_PREPARE and PM_POST_RESTORE notifiers (rev. 2)

Add PM_RESTORE_PREPARE and PM_POST_RESTORE notifiers to the PM core, to be used
in analogy with the existing PM_HIBERNATION_PREPARE and PM_POST_HIBERNATION
notifiers.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/power/notifiers.txt
include/linux/notifier.h
kernel/power/disk.c
kernel/power/user.c