Re: [TRIVIAL] sanitize power management config menus, take two

From: Patrick Mochel (mochel@osdl.org)
Date: Tue Aug 05 2003 - 11:48:04 EST


> > > o only enable cpufreq options if power management is selected
> > > o don't put cpufreq options in a separate submenu
> >
> > Yes, but what I do not understand is why cpufreq need power management.
>
> Because it is a power management option. :)
>
> CONFIG_PM is a dummy option, it does not link any code into the kernel
> by itself.

Actually, it does:

./arch/arm/kernel/Makefile:obj-$(CONFIG_PM) += pm.o
./arch/arm/mach-pxa/Makefile:obj-$(CONFIG_PM) += pm.o sleep.o
./arch/arm/mach-sa1100/Makefile:obj-$(CONFIG_PM) += pm.o sleep.o
./arch/i386/kernel/Makefile:obj-$(CONFIG_PM) += suspend.o
./drivers/pci/Makefile:obj-$(CONFIG_PM) += power.o
./kernel/Makefile:obj-$(CONFIG_PM) += pm.o power/

But, I agree with your change anyway.

        -pat

-
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 : Thu Aug 07 2003 - 22:00:29 EST