Re: Make CONFIG_ACPI_SLEEP independend on CONFIG_SOFTWARE_SUSPEND

From: Pavel Machek (pavel@ucw.cz)
Date: Fri Jul 18 2003 - 04:12:52 EST


Hi!

> > This separates CONFIG_ACPI_SLEEP and CONFIG_SOFTWARE_SUSPEND. That
> > should end the user confusion. It also updates obsolete docs, and
> > makes code less noisy. Please apply,
>
> Alright, I applied the initial patch to make those config options
> independent, though with a slightly different take on it.
>
> I moved kernel/suspend.c to drivers/power/swsusp.c and extracted the
> process suspension code to drivers/power/process.c. This removes the
> #ifdef from swsusp.c. (drivers/power/process.c is compiled when CONFIG_PM
> is set and drivers/power/swsusp.c only when CONFIG_SOFTWARE_SUSPEND is
> set).

I do not really like the placement; process suspension is not really a
device driver. What about kernel/power/*.c, instead?

Otherwise it looks good.
                                                                Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:32 EST