aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/cputable.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-09-06 00:47:49 -0400
committerPaul Mackerras <paulus@samba.org>2005-09-06 02:09:20 -0400
commitfd5b4377eacac42293b1a349dbb0f9892bf7f74a (patch)
tree7496a659e59ca45bbe841e10eaf5666faf2e1499 /include/asm-ppc64/cputable.h
parent71839267f2554d76bb0862cdd0181a60bd0f4970 (diff)
[PATCH] ppc64: add number of PMCs to cputable
Add a field in the cputable struct to store the number of PMCs. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/cputable.h')
-rw-r--r--include/asm-ppc64/cputable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc64/cputable.h b/include/asm-ppc64/cputable.h
index ae6cf3830108..0c8affc657fa 100644
--- a/include/asm-ppc64/cputable.h
+++ b/include/asm-ppc64/cputable.h
@@ -52,6 +52,9 @@ struct cpu_spec {
52 unsigned int icache_bsize; 52 unsigned int icache_bsize;
53 unsigned int dcache_bsize; 53 unsigned int dcache_bsize;
54 54
55 /* number of performance monitor counters */
56 unsigned int num_pmcs;
57
55 /* this is called to initialize various CPU bits like L1 cache, 58 /* this is called to initialize various CPU bits like L1 cache,
56 * BHT, SPD, etc... from head.S before branching to identify_machine 59 * BHT, SPD, etc... from head.S before branching to identify_machine
57 */ 60 */