Skip to content

Commit

Permalink
fix XEN_SAVE_RESTORE Kconfig dependencies
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shriram Rajagopalan authored and Rafael J. Wysocki committed Apr 11, 2011
1 parent 1f112ce commit d419e4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/x86/xen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kernel/power/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d419e4c

Please sign in to comment.