Commit ea3df4ac authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Oprofile: Fix MIPSxx counter number detection.


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 53c1b192
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment