fix XEN_SAVE_RESTORE Kconfig dependencies
authorShriram Rajagopalan <rshriram@cs.ubc.ca>
Mon, 11 Apr 2011 20:54:48 +0000 (22:54 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 11 Apr 2011 20:54:48 +0000 (22:54 +0200)
Make XEN_SAVE_RESTORE select HIBERNATE_CALLBACKS.
Remove XEN_SAVE_RESTORE dependency from PM_SLEEP.

Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/x86/xen/Kconfig
kernel/power/Kconfig

index 1c7121ba18ffdc902740c396427e448ae62250d4..5cc821cb2e0968090501e8c6e5af36353d5e2f87 100644 (file)
@@ -39,6 +39,7 @@ config XEN_MAX_DOMAIN_MEMORY
 config XEN_SAVE_RESTORE
        bool
        depends on XEN
+       select HIBERNATE_CALLBACKS
        default y
 
 config XEN_DEBUG_FS
index 049791468d37525a785eb3030c2fbb0cf228a42b..6de9a8fc34179448c0768a1c4a12ad4849cb1ce6 100644 (file)
@@ -89,7 +89,7 @@ config PM_STD_PARTITION
 
 config PM_SLEEP
        def_bool y
-       depends on SUSPEND || HIBERNATE_CALLBACKS || XEN_SAVE_RESTORE
+       depends on SUSPEND || HIBERNATE_CALLBACKS
 
 config PM_SLEEP_SMP
        def_bool y