lkml.org 
[lkml]   [2008]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH]xen: fix up config dependencies on PM
Date
On Thursday, 10 of July 2008, Jeremy Fitzhardinge wrote:
> Xen save/restore needs bits of code enabled by PM_SLEEP, and PM_SLEEP
> depends on PM. So make XEN_SAVE_RESTORE depend on PM and PM_SLEEP
> depend on XEN_SAVE_RESTORE.
>
> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>

> ---
> arch/x86/xen/Kconfig | 5 +++++
> kernel/power/Kconfig | 2 +-
> 2 files changed, 6 insertions(+), 1 deletion(-)
>
> ===================================================================
> --- a/arch/x86/xen/Kconfig
> +++ b/arch/x86/xen/Kconfig
> @@ -23,3 +23,8 @@
> according to the maximum possible memory size of a Xen
> domain. This array uses 1 page per gigabyte, so there's no
> need to be too stingy here.
> +
> +config XEN_SAVE_RESTORE
> + bool
> + depends on PM
> + default y
> \ No newline at end of file
> ===================================================================
> --- a/kernel/power/Kconfig
> +++ b/kernel/power/Kconfig
> @@ -82,7 +82,7 @@
>
> config PM_SLEEP
> bool
> - depends on SUSPEND || HIBERNATION
> + depends on SUSPEND || HIBERNATION || XEN_SAVE_RESTORE
> default y
>
> config SUSPEND
>


\
 
 \ /
  Last update: 2008-07-10 13:27    [W:2.054 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site