lkml.org 
[lkml]   [2008]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-07-09 22:45    [W:1.614 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site