aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShriram Rajagopalan <rshriram@cs.ubc.ca>2011-04-11 16:54:48 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2011-04-11 16:54:48 -0400
commitd419e4c0f7584ffc5c72d9aeeaac485cc756ebcf (patch)
tree6ba462ef5bf4ecc3abed7f1459199259e00c6ab4
parent1f112cee07b314e244ee9e71d9c1e6950dc13327 (diff)
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 <rshriram@cs.ubc.ca> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
-rw-r--r--arch/x86/xen/Kconfig1
-rw-r--r--kernel/power/Kconfig2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig
index 1c7121ba18ff..5cc821cb2e09 100644
--- a/arch/x86/xen/Kconfig
+++ b/arch/x86/xen/Kconfig
@@ -39,6 +39,7 @@ config XEN_MAX_DOMAIN_MEMORY
39config XEN_SAVE_RESTORE 39config XEN_SAVE_RESTORE
40 bool 40 bool
41 depends on XEN 41 depends on XEN
42 select HIBERNATE_CALLBACKS
42 default y 43 default y
43 44
44config XEN_DEBUG_FS 45config XEN_DEBUG_FS
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 049791468d37..6de9a8fc3417 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -89,7 +89,7 @@ config PM_STD_PARTITION
89 89
90config PM_SLEEP 90config PM_SLEEP
91 def_bool y 91 def_bool y
92 depends on SUSPEND || HIBERNATE_CALLBACKS || XEN_SAVE_RESTORE 92 depends on SUSPEND || HIBERNATE_CALLBACKS
93 93
94config PM_SLEEP_SMP 94config PM_SLEEP_SMP
95 def_bool y 95 def_bool y