aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce_intel.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_intel.c b/arch/x86/kernel/cpu/mcheck/mce_intel.c
index 2b011d2d8579..61e32881f41b 100644
--- a/arch/x86/kernel/cpu/mcheck/mce_intel.c
+++ b/arch/x86/kernel/cpu/mcheck/mce_intel.c
@@ -21,9 +21,15 @@ void intel_init_thermal(struct cpuinfo_x86 *c)
21 int tm2 = 0; 21 int tm2 = 0;
22 u32 l, h; 22 u32 l, h;
23 23
24 /* Thermal monitoring depends on ACPI and clock modulation*/ 24 /*
25 if (!cpu_has(c, X86_FEATURE_ACPI) || !cpu_has(c, X86_FEATURE_ACC)) 25 * Thermal monitoring depends on ACPI, clock modulation
26 * and APIC as well
27 */
28 if (!cpu_has(c, X86_FEATURE_ACPI) || !cpu_has(c, X86_FEATURE_ACC) ||
29 !cpu_has(c, X86_FEATURE_APIC)) {
30 pr_debug("Thermal monitoring disabled\n");
26 return; 31 return;
32 }
27 33
28 /* 34 /*
29 * First check if its enabled already, in which case there might 35 * First check if its enabled already, in which case there might