diff options
author | Anton Blanchard <anton@samba.org> | 2006-05-04 15:44:26 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-09 07:21:03 -0400 |
commit | 87af41beb9b70f06f760fc973b793488f2825853 (patch) | |
tree | e33fbd7da48404c05d950d5184a0c2474d3d13f9 /arch/powerpc/kernel/cputable.c | |
parent | 03ac829b0046d5769eef3dd841cec33a211db96e (diff) |
[PATCH] powerpc: add num_pmcs to 970MP cputable entry
The 970MP cputable entry needs a num_pmcs entry for oprofile to work.
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 0c487ee4d483..7dcc01be4b09 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -220,6 +220,7 @@ struct cpu_spec cpu_specs[] = { | |||
220 | PPC_FEATURE_HAS_ALTIVEC_COMP, | 220 | PPC_FEATURE_HAS_ALTIVEC_COMP, |
221 | .icache_bsize = 128, | 221 | .icache_bsize = 128, |
222 | .dcache_bsize = 128, | 222 | .dcache_bsize = 128, |
223 | .num_pmcs = 8, | ||
223 | .cpu_setup = __setup_cpu_ppc970, | 224 | .cpu_setup = __setup_cpu_ppc970, |
224 | .oprofile_cpu_type = "ppc64/970", | 225 | .oprofile_cpu_type = "ppc64/970", |
225 | .oprofile_type = PPC_OPROFILE_POWER4, | 226 | .oprofile_type = PPC_OPROFILE_POWER4, |