Re: [patch] power, xen64: fix PM_SLEEP build dependencies

From: Ingo Molnar
Date: Wed Jul 09 2008 - 16:43:20 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/