From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Ingo Molnar <mingo@elte.hu>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH]xen: fix up config dependencies on PM
Date: Thu, 10 Jul 2008 13:25:42 +0200 [thread overview]
Message-ID: <200807101325.42586.rjw@sisk.pl> (raw)
In-Reply-To: <487559AC.1010301@goop.org>
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
>
prev parent reply other threads:[~2008-07-10 11:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 0:37 Jeremy Fitzhardinge
2008-07-10 11:25 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200807101325.42586.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®