Re: [PATCH] ACPI suspend: Fix compilation warnings in drivers/acpi/sleep.c

Rafael J. Wysocki
2009-01-16T23:03:51Z

On Friday 16 January 2009, Andrew Morton wrote:
> On Fri, 16 Jan 2009 23:09:14 +0100
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> > Fix two compilation warnings in drivers/acpi/sleep.c, one triggered
> > by unsetting CONFIG_SUSPEND and the other triggered by unsetting
> > CONFIG_HIBERNATION, by moving some code under the appropriate
> > #ifdefs .
> >
> > Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
> > ---
> > arch/x86/kernel/acpi/sleep.c | 4 +--
> > drivers/acpi/sleep.c | 51 +++++++++++++++++++++----------------------
>
> Confused. drivers/acpi/sleep.c was removed six years ago?

It's back in 2.6.29-rc2. :-)