diff options
author | Anton Blanchard <anton@samba.org> | 2005-09-06 00:57:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-06 02:09:21 -0400 |
commit | 8fef0306f9164d4bfd0befb62e63e4d1167681b5 (patch) | |
tree | 55158562dbbe4a9e16f9f5e600c2b7fcee21d38b /include/asm-ppc64/cputable.h | |
parent | dca859329cee9b4cf02c8b7cb805b49973292ed2 (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/cputable.h')
-rw-r--r-- | include/asm-ppc64/cputable.h | 4 |
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 | */ |
38 | struct cpu_spec; | 38 | struct cpu_spec; |
39 | struct op_ppc64_model; | ||
39 | 40 | ||
40 | typedef void (*cpu_setup_t)(unsigned long offset, struct cpu_spec* spec); | 41 | typedef 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 | ||
67 | extern struct cpu_spec cpu_specs[]; | 71 | extern struct cpu_spec cpu_specs[]; |