Messages in this thread | | | Date | Wed, 9 Jul 2008 22:42:38 +0200 | From | Ingo Molnar <> | Subject | Re: [patch] power, xen64: fix PM_SLEEP build dependencies |
| |
* Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> Rafael J. Wysocki wrote: >> It does. And it depends on PM, because HIBERNATION and SUSPEND both depend >> on PM. >> > > OK, so can we change PM_SLEEP to depend on PM && (HIBERNATE || SUSPEND > || XEN)? > > Or I could add a separate XEN_SAVE_RESTORE config which depends on PM, > and then we make PM_SLEEP depend on XEN_SAVE_RESTORE.
another way would be to select PM_SLEEP if PM is enabled, from within XEN. (this is one of the rare cases where select is valid - as PM_SLEEP is not an interactive option)
Ingo
| |