Revert "[CPUFREQ] powernow-k8: clarify number of cores."
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 13 Jul 2007 17:43:52 +0000 (10:43 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 13 Jul 2007 17:43:52 +0000 (10:43 -0700)
This reverts commit 904f7a3f042b5c6aa9e53ce83f2c9de5e33170ff.

As noted by Peter Anvin:

  "It causes build failures on i386.

   Yet another case of unnecessary divergence between i386 and x86-64
   I'm afraid..."

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c

index 977336834127035d92bf2bd5e7256907b4d1d7a5..4ade55c5f33377eb5a5a89c82fc4b6648022aff6 100644 (file)
@@ -1330,9 +1330,8 @@ static int __cpuinit powernowk8_init(void)
 
        if (supported_cpus == num_online_cpus()) {
                printk(KERN_INFO PFX "Found %d %s "
-                       "processors (%d cpu cores) (" VERSION ")\n",
-                       supported_cpus/cpu_data[0].booted_cores,
-                       boot_cpu_data.x86_model_id, supported_cpus);
+                       "processors (" VERSION ")\n", supported_cpus,
+                       boot_cpu_data.x86_model_id);
                return cpufreq_register_driver(&cpufreq_amd64_driver);
        }