mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
cpufreq: Add the "cpufreq.off=1" cmdline option
Add the "cpufreq.off=1" cmdline option. At boot-time, this allows a user to request CONFIG_CPU_FREQ=n behavior from a kernel built with CONFIG_CPU_FREQ=y. This is analogous to the existing "cpuidle.off=1" option and CONFIG_CPU_IDLE=y This capability is valuable when we need to debug end-user issues in the BIOS or in Linux. It is also convenient for enabling comparisons, which may otherwise require a new kernel, or help from BIOS SETUP, which may be buggy or unavailable. Signed-off-by: Len Brown <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
6407829901
commit
d82f269255
2 changed files with 4 additions and 0 deletions
|
|
@ -2532,4 +2532,5 @@ static int __init cpufreq_core_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
module_param(off, int, 0444);
|
||||
core_initcall(cpufreq_core_init);
|
||||
|
|
|
|||
Loading…
Reference in a new issue