* [PATCH][retry] Report the number of processors in PowerNow-k8 correctly
@ 2007-03-27 19:18 Mark Langsdorf
0 siblings, 0 replies; only message in thread
From: Mark Langsdorf @ 2007-03-27 19:18 UTC (permalink / raw)
To: cpufreq
The PowerNow! driver for Opteron reports the number of cores
in the system, but claims to report the number of processors.
Fix this minor cosmetic bug.
Signed-Off-By: Bhavana Nagendra <bhavana.nagendra@amd.com>
Acked-by: Mark Langsdorf <mark.langsdorf@amd.com>
--- arch/i386/kernel/cpu/cpufreq/powernow-k8.c.old 2007-03-20
14:24:41.000000000 -0500
+++ arch/i386/kernel/cpu/cpufreq/powernow-k8.c 2007-03-20
14:32:34.000000000 -0500
@@ -661,7 +661,8 @@ static int fill_powernow_table(struct po
dprintk("cfid 0x%x, cvid 0x%x\n", data->currfid, data->currvid);
data->powernow_table = powernow_table;
- print_basics(data);
+ if (first_cpu(cpu_core_map[data->cpu]) == data->cpu)
+ print_basics(data);
for (j = 0; j < data->numps; j++)
if ((pst[j].fid==data->currfid) && (pst[j].vid==data->currvid))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-27 19:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 19:18 [PATCH][retry] Report the number of processors in PowerNow-k8 correctly Mark Langsdorf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.