Skip to content

Commit

Permalink
cpufreq / intel_pstate: Change to disallow module build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dirk Brandewie authored and Rafael J. Wysocki committed Feb 15, 2013
1 parent 191e5ed commit da0d9fd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/cpufreq/Kconfig.x86
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

config X86_INTEL_PSTATE
tristate "Intel P state control"
bool "Intel P state control"
depends on X86
help
This driver provides a P state for Intel core processors.
Expand All @@ -13,11 +13,6 @@ config X86_INTEL_PSTATE
When this driver is enabled it will become the perferred
scaling driver for Sandy bridge processors.

Note: This driver should be built with the same settings as
the other scaling drivers configured into the system
(module/built-in) in order for the driver to register itself
as the scaling driver on the system.

If in doubt, say N.

config X86_PCC_CPUFREQ
Expand Down

0 comments on commit da0d9fd

Please sign in to comment.