Re: [PATCH -mm 1/2] Separate freezer from PM code
From: Sam Ravnborg
Date: Fri Apr 27 2007 - 12:14:35 EST
On Fri, Apr 27, 2007 at 05:38:47PM +0200, Rafael J. Wysocki wrote:
>
> Index: linux-2.6.21-rc7-mm2/arch/x86_64/Kconfig
> ===================================================================
> --- linux-2.6.21-rc7-mm2.orig/arch/x86_64/Kconfig 2007-04-27 01:22:33.000000000 +0200
> +++ linux-2.6.21-rc7-mm2/arch/x86_64/Kconfig 2007-04-27 01:33:22.000000000 +0200
> @@ -703,6 +703,14 @@ config GENERIC_PENDING_IRQ
> depends on GENERIC_HARDIRQS && SMP
> default y
>
> +#
> +# Use the tasks freezer
> +#
> +config FREEZER
> + bool
> + default y
> + depends on PM || KPROBES
> +
> menu "Power management options"
Could we have this in a generic Kconfig file instead?
IIRC the depends on line may refer to unknown options
without spitting out warnings.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/