diff options
Diffstat (limited to 'arch/mips/oprofile/op_model_mipsxx.c')
-rw-r--r-- | arch/mips/oprofile/op_model_mipsxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index 1ea5c9c1010b..6383000422ab 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c | |||
@@ -222,7 +222,7 @@ static inline int n_counters(void) | |||
222 | { | 222 | { |
223 | int counters; | 223 | int counters; |
224 | 224 | ||
225 | switch (current_cpu_data.cputype) { | 225 | switch (current_cpu_type()) { |
226 | case CPU_R10000: | 226 | case CPU_R10000: |
227 | counters = 2; | 227 | counters = 2; |
228 | break; | 228 | break; |
@@ -274,7 +274,7 @@ static int __init mipsxx_init(void) | |||
274 | #endif | 274 | #endif |
275 | 275 | ||
276 | op_model_mipsxx_ops.num_counters = counters; | 276 | op_model_mipsxx_ops.num_counters = counters; |
277 | switch (current_cpu_data.cputype) { | 277 | switch (current_cpu_type()) { |
278 | case CPU_20KC: | 278 | case CPU_20KC: |
279 | op_model_mipsxx_ops.cpu_type = "mips/20K"; | 279 | op_model_mipsxx_ops.cpu_type = "mips/20K"; |
280 | break; | 280 | break; |