aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-10-12 22:13:12 -0400
committerPaul Mackerras <paulus@samba.org>2006-10-16 01:53:30 -0400
commit99f48610252b736908fa5bdea505a480368308d6 (patch)
tree3e56f726ad23b443214fa72fb56dbb974480db3b /arch/powerpc/kernel/cputable.c
parent6c4841c2b6c32a134f9f36e5e08857138cc12b10 (diff)
[POWERPC] POWER6 has 6 PMCs
Change ->num_pmcs to match the number of PMCs in POWER6. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r--arch/powerpc/kernel/cputable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 47a613cdd775..95382f994404 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -268,7 +268,7 @@ struct cpu_spec cpu_specs[] = {
268 .cpu_user_features = COMMON_USER_POWER6, 268 .cpu_user_features = COMMON_USER_POWER6,
269 .icache_bsize = 128, 269 .icache_bsize = 128,
270 .dcache_bsize = 128, 270 .dcache_bsize = 128,
271 .num_pmcs = 8, 271 .num_pmcs = 6,
272 .oprofile_cpu_type = "ppc64/power6", 272 .oprofile_cpu_type = "ppc64/power6",
273 .oprofile_type = PPC_OPROFILE_POWER4, 273 .oprofile_type = PPC_OPROFILE_POWER4,
274 .oprofile_mmcra_sihv = POWER6_MMCRA_SIHV, 274 .oprofile_mmcra_sihv = POWER6_MMCRA_SIHV,