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

From: Rafael J. Wysocki
Date: Wed Jul 09 2008 - 16:51:39 EST


On Wednesday, 9 of July 2008, Jeremy Fitzhardinge 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)?

I'd rather like it to be (HIBERNATE || SUSPEND || (XEN && PM)), but that would be
slightly confusing IMO.

> 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.

I prefer this one.

Thanks,
Rafael
--
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/