From: Shriram Rajagopalan Date: Mon, 11 Apr 2011 20:54:48 +0000 (+0200) Subject: fix XEN_SAVE_RESTORE Kconfig dependencies X-Git-Tag: upstream/snapshot3+hdmi~10670^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d419e4c0f7584ffc5c72d9aeeaac485cc756ebcf;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git fix XEN_SAVE_RESTORE Kconfig dependencies Make XEN_SAVE_RESTORE select HIBERNATE_CALLBACKS. Remove XEN_SAVE_RESTORE dependency from PM_SLEEP. Signed-off-by: Shriram Rajagopalan Acked-by: Ian Campbell Signed-off-by: Rafael J. Wysocki --- diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig index 1c7121b..5cc821c 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 HIBERNATE_CALLBACKS default y config XEN_DEBUG_FS diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 0497914..6de9a8f 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -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