aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-05-05 05:44:26 +1000
committerPaul Mackerras <paulus@samba.org>2006-06-09 21:21:03 +1000
commit87af41beb9b70f06f760fc973b793488f2825853 (patch)
treee33fbd7da48404c05d950d5184a0c2474d3d13f9 /arch/powerpc/kernel/cputable.c
parent[PATCH] powerpc: fix of_parse_dma_window (diff)
downloadlinux-dev-87af41beb9b70f06f760fc973b793488f2825853.tar.xz
linux-dev-87af41beb9b70f06f760fc973b793488f2825853.zip
[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 '')
-rw-r--r--arch/powerpc/kernel/cputable.c1
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[] = {
PPC_FEATURE_HAS_ALTIVEC_COMP,
.icache_bsize = 128,
.dcache_bsize = 128,
+ .num_pmcs = 8,
.cpu_setup = __setup_cpu_ppc970,
.oprofile_cpu_type = "ppc64/970",
.oprofile_type = PPC_OPROFILE_POWER4,