aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-09-06 14:53:57 +1000
committerPaul Mackerras <paulus@samba.org>2005-09-06 16:09:21 +1000
commit1a410d883023da70806a0190c4bde104545cb9c6 (patch)
treefbc47ca22df94ed69e78d9abe9153cbe22a74924 /include/asm-ppc64
parenta6908cd00036080fbea14ff67335e5f2a1ab5489 (diff)
downloadkernel_samsung_smdk4412-1a410d883023da70806a0190c4bde104545cb9c6.zip
kernel_samsung_smdk4412-1a410d883023da70806a0190c4bde104545cb9c6.tar.gz
kernel_samsung_smdk4412-1a410d883023da70806a0190c4bde104545cb9c6.tar.bz2
[PATCH] ppc64: Add oprofile cpu_type to cpu feature struct
Add oprofile cpu_type to cpu feature struct. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc64/cputable.h b/include/asm-ppc64/cputable.h
index 80b9077..445727a 100644
--- a/include/asm-ppc64/cputable.h
+++ b/include/asm-ppc64/cputable.h
@@ -59,6 +59,9 @@ struct cpu_spec {
* BHT, SPD, etc... from head.S before branching to identify_machine
*/
cpu_setup_t cpu_setup;
+
+ /* Used by oprofile userspace to select the right counters */
+ char *oprofile_cpu_type;
};
extern struct cpu_spec cpu_specs[];