summaryrefslogtreecommitdiffstats
path: root/arch/i386
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/i386
parent99fbe1ac217e8b9d4141504e879327cb4e42d4ff (diff)
downloadop-kernel-dev-904f7a3f042b5c6aa9e53ce83f2c9de5e33170ff.zip
op-kernel-dev-904f7a3f042b5c6aa9e53ce83f2c9de5e33170ff.tar.gz
[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/i386')
-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 4ade55c..9773368 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