mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
ACPI: don't load acpi_cpufreq if acpi=off
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
3fa8749e58
commit
ee29753327
1 changed files with 3 additions and 0 deletions
|
@ -779,6 +779,9 @@ static int __init acpi_cpufreq_init(void)
|
|||
{
|
||||
int ret;
|
||||
|
||||
if (acpi_disabled)
|
||||
return 0;
|
||||
|
||||
dprintk("acpi_cpufreq_init\n");
|
||||
|
||||
ret = acpi_cpufreq_early_init();
|
||||
|
|
Loading…
Reference in a new issue