[PATCH] x86: Add a cumulative thermal throttle event counter.
[deliverable/linux.git] / arch / x86_64 / kernel / mce_intel.c
index dec11219e278aa6fc4cf02f187866fce385f06c4..6551505d8a2cd8d0c7276d32334bef0b1aed0809 100644 (file)
@@ -77,6 +77,9 @@ static void __cpuinit intel_init_thermal(struct cpuinfo_x86 *c)
        apic_write(APIC_LVTTHMR, l & ~APIC_LVT_MASKED);
        printk(KERN_INFO "CPU%d: Thermal monitoring enabled (%s)\n",
                cpu, tm2 ? "TM2" : "TM1");
+
+       /* enable thermal throttle processing */
+       atomic_set(&therm_throt_en, 1);
        return;
 }
 
This page took 0.025193 seconds and 5 git commands to generate.