LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] POWER6 has 6 PMCs
@ 2006-10-13  2:13 Anton Blanchard
  0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2006-10-13  2:13 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: paulus


Change ->num_pmcs to match the number of PMCs in POWER6. 

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: build/arch/powerpc/kernel/cputable.c
===================================================================
--- build.orig/arch/powerpc/kernel/cputable.c	2006-09-22 19:04:56.000000000 +1000
+++ build/arch/powerpc/kernel/cputable.c	2006-09-22 19:24:11.000000000 +1000
@@ -268,7 +268,7 @@ struct cpu_spec	cpu_specs[] = {
 		.cpu_user_features	= COMMON_USER_POWER6,
 		.icache_bsize		= 128,
 		.dcache_bsize		= 128,
-		.num_pmcs		= 8,
+		.num_pmcs		= 6,
 		.oprofile_cpu_type	= "ppc64/power6",
 		.oprofile_type		= PPC_OPROFILE_POWER4,
  		.oprofile_mmcra_sihv	= POWER6_MMCRA_SIHV,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-13  2:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-13  2:13 [PATCH] POWER6 has 6 PMCs Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox