summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-22 23:35:56 -0400
committerLen Brown <len.brown@intel.com>2008-10-22 23:35:56 -0400
commit1b79b27da172d6c868746135feeb71de4ddd0646 (patch)
tree567ab66f1a60e322d161e0e44bdf48cb13e55c66 /arch/x86/kernel/cpu
parent7674416db4ee3d43813dddb650364ca994755256 (diff)
parentfa89b6089b5f4c7a5244b642caaca3e72b06ebe4 (diff)
Merge branch 'yinghai' into test
Diffstat (limited to 'arch/x86/kernel/cpu')
-rw-r--r--arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
index dd097b83583..9943b4c8774 100644
--- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -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();