提交 ee297533 编写于 作者: Y Yinghai Lu 提交者: Len Brown

ACPI: don't load acpi_cpufreq if acpi=off

Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 3fa8749e
...@@ -779,6 +779,9 @@ static int __init acpi_cpufreq_init(void) ...@@ -779,6 +779,9 @@ static int __init acpi_cpufreq_init(void)
{ {
int ret; int ret;
if (acpi_disabled)
return 0;
dprintk("acpi_cpufreq_init\n"); dprintk("acpi_cpufreq_init\n");
ret = acpi_cpufreq_early_init(); ret = acpi_cpufreq_early_init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册