aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/cputable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc64/cputable.h')
-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[];