Browse Source

[CPUFREQ] powernow-k8: clarify number of cores.

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>
Dave Jones 18 years ago
parent
commit
904f7a3f04
1 changed files with 3 additions and 2 deletions
  1. 3 2
      arch/i386/kernel/cpu/cpufreq/powernow-k8.c

+ 3 - 2
arch/i386/kernel/cpu/cpufreq/powernow-k8.c

@@ -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);
 	}