projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ac829
)
[PATCH] powerpc: add num_pmcs to 970MP cputable entry
author
Anton Blanchard
<anton@samba.org>
Thu, 4 May 2006 19:44:26 +0000
(
05:44
+1000)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 9 Jun 2006 11:21:03 +0000
(21:21 +1000)
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>
arch/powerpc/kernel/cputable.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/cputable.c
b/arch/powerpc/kernel/cputable.c
index
0c487ee
..
7dcc01b
100644
(file)
--- 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,