Skip to contentSkip to conversation

POWER6 has 6 PMCs

PATCH New Anton Blanchard 1 participant 1 message Oct 13, 2006 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 POWER6 has 6 PMCs

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

---

arch/powerpc/kernel/cputable.c +1 -1
Index: build/arch/powerpc/kernel/cputable.c
===================================================================
@@ -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,