diff mbox

[v2] xen: fix XEN_SAVE_RESTORE Kconfig dependencies

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

Commit Message

Shriram Rajagopalan Feb. 23, 2011, 4:23 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig
index 2c876ed..0e68597 100644
--- a/arch/x86/xen/Kconfig
+++ b/arch/x86/xen/Kconfig
@@ -38,7 +38,7 @@  config XEN_MAX_DOMAIN_MEMORY
 
 config XEN_SAVE_RESTORE
        bool
-       depends on XEN
+       depends on XEN && HIBERNATION
        default y
 
 config XEN_DEBUG_FS
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 4603f08..74fe864 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -85,7 +85,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