aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-09-06 00:57:52 -0400
committerPaul Mackerras <paulus@samba.org>2005-09-06 02:09:21 -0400
commit8fef0306f9164d4bfd0befb62e63e4d1167681b5 (patch)
tree55158562dbbe4a9e16f9f5e600c2b7fcee21d38b /include/asm-ppc64
parentdca859329cee9b4cf02c8b7cb805b49973292ed2 (diff)
[PATCH] ppc64: Move oprofile_model into cpu feature struct
Move oprofile_model into 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ppc64/cputable.h b/include/asm-ppc64/cputable.h
index 445727ae2baa..acc9b4d6c168 100644
--- a/include/asm-ppc64/cputable.h
+++ b/include/asm-ppc64/cputable.h
@@ -36,6 +36,7 @@
36 * via the mkdefs mechanism. 36 * via the mkdefs mechanism.
37 */ 37 */
38struct cpu_spec; 38struct cpu_spec;
39struct op_ppc64_model;
39 40
40typedef void (*cpu_setup_t)(unsigned long offset, struct cpu_spec* spec); 41typedef void (*cpu_setup_t)(unsigned long offset, struct cpu_spec* spec);
41 42
@@ -62,6 +63,9 @@ struct cpu_spec {
62 63
63 /* Used by oprofile userspace to select the right counters */ 64 /* Used by oprofile userspace to select the right counters */
64 char *oprofile_cpu_type; 65 char *oprofile_cpu_type;
66
67 /* Processor specific oprofile operations */
68 struct op_ppc64_model *oprofile_model;
65}; 69};
66 70
67extern struct cpu_spec cpu_specs[]; 71extern struct cpu_spec cpu_specs[];