[MIPS] Oprofile: Fix MIPSxx counter number detection.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
此提交包含在:
Ralf Baechle
2006-10-23 23:21:21 +01:00
父節點 53c1b192ec
當前提交 ea3df4ac7d

查看文件

@@ -220,7 +220,7 @@ static inline int n_counters(void)
{
int counters = __n_counters();
#ifndef CONFIG_SMP
#ifdef CONFIG_MIPS_MT_SMP
if (current_cpu_data.cputype == CPU_34K)
return counters >> 1;
#endif