Skip to content

Commit

Permalink
ACPI: don't load acpi_cpufreq if acpi=off
Browse files Browse the repository at this point in the history
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Yinghai Lu authored and Len Brown committed Oct 11, 2008
1 parent 3fa8749 commit ee29753
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ee29753

Please sign in to comment.