summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2007-05-18 13:22:28 -0400
committerDave Jones <davej@redhat.com>2007-05-18 13:25:12 -0400
commit904f7a3f042b5c6aa9e53ce83f2c9de5e33170ff (patch)
treea2335640ff9c9ae9e4af3c6752d4955879be5ac4 /arch
parent99fbe1ac217e8b9d4141504e879327cb4e42d4ff (diff)
downloadblackbird-op-linux-904f7a3f042b5c6aa9e53ce83f2c9de5e33170ff.tar.gz
blackbird-op-linux-904f7a3f042b5c6aa9e53ce83f2c9de5e33170ff.zip
[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>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/powernow-k8.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
index 4ade55c5f333..977336834127 100644
--- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+++ b/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);
}
OpenPOWER on IntegriCloud