projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/powerpc/kernel/cputable.c
b/arch/powerpc/kernel/cputable.c
index 0c487ee4d4830fae96041dcfff56b0f53405e13a..7dcc01be4b0914113e0d0cad3a09c56dc5126657 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,