diff mbox

[v3,5/5] xen: fix XEN_SAVE_RESTORE Kconfig dependencies

Message ID 1299906483-31053-1-git-send-email-rshriram@cs.ubc.ca (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Shriram Rajagopalan March 12, 2011, 5:08 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig
index 2c876ed..41e71f9 100644
--- a/arch/x86/xen/Kconfig
+++ b/arch/x86/xen/Kconfig
@@ -39,6 +39,7 @@  config XEN_MAX_DOMAIN_MEMORY
 config XEN_SAVE_RESTORE
        bool
        depends on XEN
+       select HIBERNATION
        default y
 
 config XEN_DEBUG_FS
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 493c678..41dafb2 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -90,7 +90,7 @@  config PM_STD_PARTITION
 
 config PM_SLEEP
 	def_bool y
-	depends on SUSPEND || HIBERNATION || XEN_SAVE_RESTORE
+	depends on SUSPEND || HIBERNATION
 
 config PM_SLEEP_SMP
 	def_bool y