Merge branch 'docs-next' of git://git.lwn.net/linux-2.6
[deliverable/linux.git] / arch / x86 / kernel / cpu / amd.c
index 8f1e31db2ad56d4f178881fff4d86b777349173c..7c878f6aa919182033001cdc6eaa4d1cbefc6543 100644 (file)
@@ -283,9 +283,14 @@ static void __cpuinit early_init_amd(struct cpuinfo_x86 *c)
 {
        early_init_amd_mc(c);
 
-       /* c->x86_power is 8000_0007 edx. Bit 8 is constant TSC */
-       if (c->x86_power & (1<<8))
+       /*
+        * c->x86_power is 8000_0007 edx. Bit 8 is TSC runs at constant rate
+        * with P/T states and does not stop in deep C-states
+        */
+       if (c->x86_power & (1 << 8)) {
                set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC);
+               set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC);
+       }
 
 #ifdef CONFIG_X86_64
        set_cpu_cap(c, X86_FEATURE_SYSCALL32);
This page took 0.029673 seconds and 5 git commands to generate.