diff options
author | Borislav Petkov <bp@suse.de> | 2013-01-20 05:24:27 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 18:01:14 -0500 |
commit | 741220ea86709717e1d392b5a9617dfe90cd3802 (patch) | |
tree | 7fdceb0aa223d1298068b6f3496a3a07023d5f36 /drivers/cpufreq/Makefile | |
parent | c40a4518166b6c500c844579ec7069d4a0419f30 (diff) |
cpufreq: Make acpi-cpufreq link first
Now that the majority of x86 CPUs out there are supported by
acpi-cpufreq, we want it to load first and, in the AMD case, drop to
powernow-k8 only on K8s. If, however, both powernow-k8 and acpi-cpufreq
are built-in, the link order matters. Correct that.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/Makefile')
-rw-r--r-- | drivers/cpufreq/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index fadc4d496e2f..24d4a63fd6cf 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile | |||
@@ -19,11 +19,12 @@ obj-$(CONFIG_GENERIC_CPUFREQ_CPU0) += cpufreq-cpu0.o | |||
19 | ################################################################################## | 19 | ################################################################################## |
20 | # x86 drivers. | 20 | # x86 drivers. |
21 | # Link order matters. K8 is preferred to ACPI because of firmware bugs in early | 21 | # Link order matters. K8 is preferred to ACPI because of firmware bugs in early |
22 | # K8 systems. ACPI is preferred to all other hardware-specific drivers. | 22 | # K8 systems. This is still the case but acpi-cpufreq errors out so that |
23 | # powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers. | ||
23 | # speedstep-* is preferred over p4-clockmod. | 24 | # speedstep-* is preferred over p4-clockmod. |
24 | 25 | ||
25 | obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o | ||
26 | obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o mperf.o | 26 | obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o mperf.o |
27 | obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o | ||
27 | obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o | 28 | obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o |
28 | obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o | 29 | obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o |
29 | obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o | 30 | obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o |