summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-23 16:30:20 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-23 16:30:20 +0100
commitbe9a1d3c2e559b267983bcf8b003997b83befb49 (patch)
tree4aea3e82ed63e918e83f470970e760fcaf42782f /drivers/acpi
parentMerge branches 'x86/apic', 'x86/cleanups', 'x86/cpufeature', 'x86/crashdump',... (diff)
parentMerge branch 'x86/ptrace' into x86/tsc (diff)
downloadlinux-be9a1d3c2e559b267983bcf8b003997b83befb49.tar.xz
linux-be9a1d3c2e559b267983bcf8b003997b83befb49.zip
Merge branch 'x86/tsc' into x86/core
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_idle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 5f8d746a9b81..38aca048e951 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -374,15 +374,15 @@ static int tsc_halts_in_c(int state)
{
switch (boot_cpu_data.x86_vendor) {
case X86_VENDOR_AMD:
+ case X86_VENDOR_INTEL:
/*
* AMD Fam10h TSC will tick in all
* C/P/S0/S1 states when this bit is set.
*/
- if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC))
+ if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC))
return 0;
+
/*FALL THROUGH*/
- case X86_VENDOR_INTEL:
- /* Several cases known where TSC halts in C2 too */
default:
return state > ACPI_STATE_C1;
}