Skip to content

Commit 99f4861

Browse files
antonblanchardpaulusmack
authored andcommitted
[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>
1 parent 6c4841c commit 99f4861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/kernel/cputable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ struct cpu_spec cpu_specs[] = {
268268
.cpu_user_features = COMMON_USER_POWER6,
269269
.icache_bsize = 128,
270270
.dcache_bsize = 128,
271-
.num_pmcs = 8,
271+
.num_pmcs = 6,
272272
.oprofile_cpu_type = "ppc64/power6",
273273
.oprofile_type = PPC_OPROFILE_POWER4,
274274
.oprofile_mmcra_sihv = POWER6_MMCRA_SIHV,

0 commit comments

Comments
 (0)