aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/Kconfig.x86
diff options
context:
space:
mode:
authorDirk Brandewie <dirk.brandewie@gmail.com>2013-02-14 16:55:34 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-02-15 16:54:59 -0500
commitda0d9fda3743769484d3db5a17a121599076e869 (patch)
treed04920e7892d6588df21e40ffbfa1cea3fc2c3ea /drivers/cpufreq/Kconfig.x86
parent191e5edf96dc4939f5db0605cc65de9f4d88d155 (diff)
cpufreq / intel_pstate: Change to disallow module build
Load order is important in order for intel_pstate to take over as the default scaling driver from acpi-cpufreq. If both are built-in, acpi-cpufreq uses late_initcall() and intel_pstate uses device_initcall() so it will be able to register as the scaling before acpi-cpufreq for the processors supported by intel_pstate. If acpi-cpufreq is built as a module then intel_pstate still gets first option to become the scaling driver. Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/Kconfig.x86')
-rw-r--r--drivers/cpufreq/Kconfig.x867
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86
index 6aa7053ce2ef..98e5abbe8f26 100644
--- a/drivers/cpufreq/Kconfig.x86
+++ b/drivers/cpufreq/Kconfig.x86
@@ -3,7 +3,7 @@
3# 3#
4 4
5config X86_INTEL_PSTATE 5config X86_INTEL_PSTATE
6 tristate "Intel P state control" 6 bool "Intel P state control"
7 depends on X86 7 depends on X86
8 help 8 help
9 This driver provides a P state for Intel core processors. 9 This driver provides a P state for Intel core processors.
@@ -13,11 +13,6 @@ config X86_INTEL_PSTATE
13 When this driver is enabled it will become the perferred 13 When this driver is enabled it will become the perferred
14 scaling driver for Sandy bridge processors. 14 scaling driver for Sandy bridge processors.
15 15
16 Note: This driver should be built with the same settings as
17 the other scaling drivers configured into the system
18 (module/built-in) in order for the driver to register itself
19 as the scaling driver on the system.
20
21 If in doubt, say N. 16 If in doubt, say N.
22 17
23config X86_PCC_CPUFREQ 18config X86_PCC_CPUFREQ