Re: [announce] new tree: "fix all build warnings, on all configs"
From: Len Brown
Date: Wed Oct 22 2008 - 00:12:35 EST
> > drivers/acpi/sleep/main.c:67: warning: âacpi_pm_disable_gpesâ defined but not used
> >
> > Shows that this code has an identity crisis due to a maze of #ifdefs, in
> > the PM_SLEEP && !SUSPEND && !HIBERNATION case for example.
>
> This case is invalid, because PM_SLEEP == SUSPEND || HIBERNATION !
I though so too, but 2.6.27 appears to have added XEN to the mix:
config PM_SLEEP
bool
depends on SUSPEND || HIBERNATION || XEN_SAVE_RESTORE
-Len