commit | ea3df4ac7d4adad915e2d0431a9407b10617114c | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Mon Oct 23 23:21:21 2006 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon Oct 30 21:41:27 2006 +0000 |
tree | c8a69d6c13aa8da543b1e05b9e7efb8780c4611e | |
parent | 53c1b192ece077e1c3892e6afb453ab6f009af81 [diff] |
[MIPS] Oprofile: Fix MIPSxx counter number detection. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index ebce715..1fb240c 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c
@@ -220,7 +220,7 @@ { int counters = __n_counters(); -#ifndef CONFIG_SMP +#ifdef CONFIG_MIPS_MT_SMP if (current_cpu_data.cputype == CPU_34K) return counters >> 1; #endif