summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-23 03:35:56 (GMT)
committerLen Brown <len.brown@intel.com>2008-10-23 03:35:56 (GMT)
commit1b79b27da172d6c868746135feeb71de4ddd0646 (patch)
tree567ab66f1a60e322d161e0e44bdf48cb13e55c66 /arch/x86/kernel/cpu
parent7674416db4ee3d43813dddb650364ca994755256 (diff)
parentfa89b6089b5f4c7a5244b642caaca3e72b06ebe4 (diff)
downloadlinux-fsl-qoriq-1b79b27da172d6c868746135feeb71de4ddd0646.tar.xz
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 dd097b8..9943b4c 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();