aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-13 13:43:52 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-13 13:43:52 -0400
commit8b69ad0e690eb5f38c23087247a12e5fde1baeff (patch)
tree373d790bff8a50fec0e19daf26c30a6b1eb72a71
parentaba2da66cfbf7790ad79d4dee95871127d5ddf5e (diff)
Revert "[CPUFREQ] powernow-k8: clarify number of cores."
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>
-rw-r--r--arch/i386/kernel/cpu/cpufreq/powernow-k8.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
index 977336834127..4ade55c5f333 100644
--- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
@@ -1330,9 +1330,8 @@ static int __cpuinit powernowk8_init(void)
1330 1330
1331 if (supported_cpus == num_online_cpus()) { 1331 if (supported_cpus == num_online_cpus()) {
1332 printk(KERN_INFO PFX "Found %d %s " 1332 printk(KERN_INFO PFX "Found %d %s "
1333 "processors (%d cpu cores) (" VERSION ")\n", 1333 "processors (" VERSION ")\n", supported_cpus,
1334 supported_cpus/cpu_data[0].booted_cores, 1334 boot_cpu_data.x86_model_id);
1335 boot_cpu_data.x86_model_id, supported_cpus);
1336 return cpufreq_register_driver(&cpufreq_amd64_driver); 1335 return cpufreq_register_driver(&cpufreq_amd64_driver);
1337 } 1336 }
1338 1337