diff options
author | Shriram Rajagopalan <rshriram@cs.ubc.ca> | 2011-04-11 16:54:48 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-04-11 16:54:48 -0400 |
commit | d419e4c0f7584ffc5c72d9aeeaac485cc756ebcf (patch) | |
tree | 6ba462ef5bf4ecc3abed7f1459199259e00c6ab4 | |
parent | 1f112cee07b314e244ee9e71d9c1e6950dc13327 (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/Kconfig | 1 | ||||
-rw-r--r-- | kernel/power/Kconfig | 2 |
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 | |||
39 | config XEN_SAVE_RESTORE | 39 | config 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 | ||
44 | config XEN_DEBUG_FS | 45 | config 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 | ||
90 | config PM_SLEEP | 90 | config 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 | ||
94 | config PM_SLEEP_SMP | 94 | config PM_SLEEP_SMP |
95 | def_bool y | 95 | def_bool y |