Skip to content

Commit

Permalink
[MIPS] Oprofile: Fix MIPSxx counter number detection.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 30, 2006
1 parent 53c1b19 commit ea3df4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/oprofile/op_model_mipsxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea3df4a

Please sign in to comment.