Re: [RFC][PATCH] Fix drivers/acpi/sleep.c compile error if swsusp is disabled

Shawn Starr (spstarr@sh0n.net)
Sat, 16 Nov 2002 00:12:53 -0500


I can fix this, sure. I'll have a fix later today or so.

On November 14, 2002 05:59 pm, Pavel Machek wrote:
> Hi!
>
> > Hi, this should fix this compile problem (if this is correct).
> >
> > Please apply.
>
> It would silently do nothing, that's bad.
>
> Could you make it so that CONFIG_ACPI_SLEEP is not selectable without
> CONFIG_SOFTWARE_SUSPEND and move CONFIG_SOFTWARE_SUSPEND into "power
> managment" submenu?
> Pavel
>
> > break;
> >
> > case ACPI_STATE_S2:
> > +#ifdef CONFIG_SOFTWARE_SUSPEND
> > case ACPI_STATE_S3:
> > do_suspend_lowlevel(0);
> > +#endif
> > break;
> > }
> > local_irq_restore(flags);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/