On Wednesday, 9 of July 2008, Ingo Molnar wrote:
* Rafael J. Wysocki <rjw@xxxxxxx> wrote:
yes, that combination doesnt make sense in -git, but tip/xen64 tries the !PM && PM_SLEEP combination - see the patch below.This combination actually doesn't make sense whatsoever.Your patch is correct, though. :-)
PM_SLEEP depends (indirectly) on PM and the fact that it's possible to use a .config violating this dependency is a build system problem, really.
It shouldn't. There are many things compiled if PM is set that PM_SLEEP
depends on, most importantly ->suspend() and ->resume() callbacks of almost
all drivers. Ignoring this dependency is asking for trouble.
I don't like this.
I'll have a look at the remaining related patches and see what can be done.
Jeremy, what exactly do you need the !PM && PM_SLEEP combination for, BTW?