[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>
This commit is contained in:
Anton Blanchard
2005-09-06 14:57:52 +10:00
committed by Paul Mackerras
parent dca859329c
commit 8fef0306f9
3 changed files with 22 additions and 36 deletions
+4
View File
@@ -36,6 +36,7 @@
* via the mkdefs mechanism.
*/
struct cpu_spec;
struct op_ppc64_model;
typedef void (*cpu_setup_t)(unsigned long offset, struct cpu_spec* spec);
@@ -62,6 +63,9 @@ struct cpu_spec {
/* Used by oprofile userspace to select the right counters */
char *oprofile_cpu_type;
/* Processor specific oprofile operations */
struct op_ppc64_model *oprofile_model;
};
extern struct cpu_spec cpu_specs[];