summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/cputable.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-09-06 06:47:49 +0200
committerPaul Mackerras <paulus@samba.org>2005-09-06 08:09:20 +0200
commitfd5b4377eacac42293b1a349dbb0f9892bf7f74a (patch)
tree7496a659e59ca45bbe841e10eaf5666faf2e1499 /include/asm-ppc64/cputable.h
parent[PATCH] ppc64: Allow world readable /proc/ppc64/lparcfg (diff)
downloadlinux-fd5b4377eacac42293b1a349dbb0f9892bf7f74a.tar.xz
linux-fd5b4377eacac42293b1a349dbb0f9892bf7f74a.zip
[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 '')
-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 {
unsigned int icache_bsize;
unsigned int dcache_bsize;
+ /* number of performance monitor counters */
+ unsigned int num_pmcs;
+
/* this is called to initialize various CPU bits like L1 cache,
* BHT, SPD, etc... from head.S before branching to identify_machine
*/