All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][retry] Report the number of processors in PowerNow-k8 correctly [2/2]
@ 2007-03-27 19:23 Mark Langsdorf
  2007-04-05 20:29 ` Dave Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Langsdorf @ 2007-03-27 19:23 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>

--- linux-2.6.18.x86_64/arch/i386/kernel/cpu/cpufreq/powernow-k8.c.orig	2007-03-22 16:13:04.630175768 -0500
+++ linux-2.6.18.x86_64/arch/i386/kernel/cpu/cpufreq/powernow-k8.c	2007-03-22 16:19:40.153047152 -0500
@@ -840,7 +840,8 @@ static int powernow_k8_cpu_init_acpi(str
 
 	/* fill in data */
 	data->numps = data->acpi_data.state_count;
-	print_basics(data);
+	if (first_cpu(cpu_core_map[data->cpu]) == data->cpu)
+		print_basics(data);
 	powernow_k8_acpi_pst_values(data, 0);
 
 	/* notify BIOS that we exist */

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-05 21:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 19:23 [PATCH][retry] Report the number of processors in PowerNow-k8 correctly [2/2] Mark Langsdorf
2007-04-05 20:29 ` Dave Jones
2007-04-05 21:21   ` [PATCH][retry 2] Report the number of processors in PowerNow-k8 correctly Mark Langsdorf
2007-04-05 21:30     ` Dave Jones

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.