[CPUFREQ] powernow-k8: clarify number of cores.
authorDave Jones <davej@redhat.com>
Fri, 18 May 2007 17:22:28 +0000 (13:22 -0400)
committerDave Jones <davej@redhat.com>
Fri, 18 May 2007 17:25:12 +0000 (13:25 -0400)
Indicate number of processors and cores more cleanly
in startup messages.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c

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