[PATCH] ppc64: Add oprofile cpu_type to cpu feature struct

Add oprofile cpu_type to cpu feature struct.

Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
Anton Blanchard 2005-09-06 14:53:57 +10:00 • committed by Paul Mackerras
commit 1a410d8830
3 changed files with 17 additions and 5 deletions

View file

@ -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[];