Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[MIPS] Oprofile: Fix MIPSxx counter number detection.

parent 53c1b192
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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