diff options
-rw-r--r-- | arch/mips/oprofile/op_model_mipsxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index ebce715f076d..1fb240c57bac 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c | |||
@@ -220,7 +220,7 @@ static inline int n_counters(void) | |||
220 | { | 220 | { |
221 | int counters = __n_counters(); | 221 | int counters = __n_counters(); |
222 | 222 | ||
223 | #ifndef CONFIG_SMP | 223 | #ifdef CONFIG_MIPS_MT_SMP |
224 | if (current_cpu_data.cputype == CPU_34K) | 224 | if (current_cpu_data.cputype == CPU_34K) |
225 | return counters >> 1; | 225 | return counters >> 1; |
226 | #endif | 226 | #endif |