]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/process.c
x86: prevent C-states hang on AMD C1E enabled machines
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / process.c
index 2e2247117f6e10a97fbaef02fe8dfac9676ea2c5..d8c2a299bfe51d774d3ce4e9027dc02b1ceb7472 100644 (file)
@@ -272,6 +272,7 @@ static void c1e_idle(void)
                        c1e_detected = 1;
                        mark_tsc_unstable("TSC halt in C1E");
                        printk(KERN_INFO "System has C1E enabled\n");
+                       set_cpu_cap(&boot_cpu_data, X86_FEATURE_AMDC1E);
                }
        }