diff options
author | Anton Blanchard <anton@samba.org> | 2005-09-06 14:47:49 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-06 16:09:20 +1000 |
commit | fd5b4377eacac42293b1a349dbb0f9892bf7f74a (patch) | |
tree | 7496a659e59ca45bbe841e10eaf5666faf2e1499 /include/asm-ppc64 | |
parent | 71839267f2554d76bb0862cdd0181a60bd0f4970 (diff) | |
download | linux-fd5b4377eacac42293b1a349dbb0f9892bf7f74a.tar.bz2 |
[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')
-rw-r--r-- | include/asm-ppc64/cputable.h | 3 |
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 */ |