diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-19 09:18:31 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-21 05:21:08 -0400 |
commit | a3e48c10cca3287a845435dd8ca58ecbde72d847 (patch) | |
tree | 5976d3b64f272d4383e1dd710afc3b5afd6d08d9 /include | |
parent | d9e5b83b120dea9f306de06f7dead55103ab2d46 (diff) |
[PATCH] powerpc: rename op_ppc{32,64}_model to op_powerpc_model
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc/perfmon.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/cputable.h | 4 | ||||
-rw-r--r-- | include/asm-ppc64/oprofile_impl.h | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-ppc/perfmon.h b/include/asm-ppc/perfmon.h index 5e7a89c47b5b..e9692a603cff 100644 --- a/include/asm-ppc/perfmon.h +++ b/include/asm-ppc/perfmon.h | |||
@@ -16,7 +16,7 @@ void pmc_start_ctrs(int enable); | |||
16 | void pmc_stop_ctrs(void); | 16 | void pmc_stop_ctrs(void); |
17 | void dump_pmcs(void); | 17 | void dump_pmcs(void); |
18 | 18 | ||
19 | extern struct op_ppc32_model op_model_fsl_booke; | 19 | extern struct op_powerpc_model op_model_fsl_booke; |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | #endif /* __PERFMON_H */ | 22 | #endif /* __PERFMON_H */ |
diff --git a/include/asm-ppc64/cputable.h b/include/asm-ppc64/cputable.h index 35121408ed1c..3eef40efd082 100644 --- a/include/asm-ppc64/cputable.h +++ b/include/asm-ppc64/cputable.h | |||
@@ -36,7 +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 | struct op_powerpc_model; |
40 | 40 | ||
41 | 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); |
42 | 42 | ||
@@ -65,7 +65,7 @@ struct cpu_spec { | |||
65 | char *oprofile_cpu_type; | 65 | char *oprofile_cpu_type; |
66 | 66 | ||
67 | /* Processor specific oprofile operations */ | 67 | /* Processor specific oprofile operations */ |
68 | struct op_ppc64_model *oprofile_model; | 68 | struct op_powerpc_model *oprofile_model; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | extern struct cpu_spec cpu_specs[]; | 71 | extern struct cpu_spec cpu_specs[]; |
diff --git a/include/asm-ppc64/oprofile_impl.h b/include/asm-ppc64/oprofile_impl.h index b04f1dfb1421..50420e715f05 100644 --- a/include/asm-ppc64/oprofile_impl.h +++ b/include/asm-ppc64/oprofile_impl.h | |||
@@ -37,7 +37,7 @@ struct op_system_config { | |||
37 | }; | 37 | }; |
38 | 38 | ||
39 | /* Per-arch configuration */ | 39 | /* Per-arch configuration */ |
40 | struct op_ppc64_model { | 40 | struct op_powerpc_model { |
41 | void (*reg_setup) (struct op_counter_config *, | 41 | void (*reg_setup) (struct op_counter_config *, |
42 | struct op_system_config *, | 42 | struct op_system_config *, |
43 | int num_counters); | 43 | int num_counters); |
@@ -49,8 +49,8 @@ struct op_ppc64_model { | |||
49 | int num_counters; | 49 | int num_counters; |
50 | }; | 50 | }; |
51 | 51 | ||
52 | extern struct op_ppc64_model op_model_rs64; | 52 | extern struct op_powerpc_model op_model_rs64; |
53 | extern struct op_ppc64_model op_model_power4; | 53 | extern struct op_powerpc_model op_model_power4; |
54 | 54 | ||
55 | static inline unsigned int ctr_read(unsigned int i) | 55 | static inline unsigned int ctr_read(unsigned int i) |
56 | { | 56 | { |