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