]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/notifier.h
Hibernation: Add PM_RESTORE_PREPARE and PM_POST_RESTORE notifiers (rev. 2)
[mv-sheeva.git] / include / linux / notifier.h
index 5dfbc684ce7daab792ca9ddf40e842fe5a5cc1c7..f4df40038f0c4cb54d2596cbe051dfd9bd241f0e 100644 (file)
@@ -228,6 +228,8 @@ static inline int notifier_to_errno(int ret)
 #define PM_POST_HIBERNATION    0x0002 /* Hibernation finished */
 #define PM_SUSPEND_PREPARE     0x0003 /* Going to suspend the system */
 #define PM_POST_SUSPEND                0x0004 /* Suspend finished */
+#define PM_RESTORE_PREPARE     0x0005 /* Going to restore a saved image */
+#define PM_POST_RESTORE                0x0006 /* Restore failed */
 
 /* Console keyboard events.
  * Note: KBD_KEYCODE is always sent before KBD_UNBOUND_KEYCODE, KBD_UNICODE and