mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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:
parent
a6908cd000
commit
1a410d8830
3 changed files with 17 additions and 5 deletions
|
|
@ -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[];
|
||||
|
|
|
|||
Loading…
Reference in a new issue