[PATCH] UBUNTU: SAUCE: Link acpi-cpufreq.o first
Tim Gardner
tim.gardner at canonical.com
Wed Feb 18 13:31:55 UTC 2009
Scott James Remnant wrote:
> OriginalAuthor: Matthew Garrett <mjg59 at srcf.ucam.org>
>
> The link order of the CPU Frequency scaling drivers affects the order in
> which they will be tried. In general, acpi-cpufreq is always the
> desired driver, so we want to link this first - and only use the others
> as a fallback.
>
> Signed-off-by: Scott James Remnant <scott at canonical.com>
> ---
> arch/x86/kernel/cpu/cpufreq/Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/kernel/cpu/cpufreq/Makefile b/arch/x86/kernel/cpu/cpufreq/Makefile
> index 560f776..5808631 100644
> --- a/arch/x86/kernel/cpu/cpufreq/Makefile
> +++ b/arch/x86/kernel/cpu/cpufreq/Makefile
> @@ -1,3 +1,4 @@
> +obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
> obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
> obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
> obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
> @@ -10,7 +11,6 @@ obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
> obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o
> obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
> obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o
> -obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
> obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
> obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
> obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
applied - I'd like to see this submitted upstream for discussion of
regression potential and actual boot performance gain.
rtg
--
Tim Gardner tim.gardner at canonical.com
More information about the kernel-team
mailing list