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

Commit 6f4c5bde authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Fix oprofile logic to physical counter remapping



This did cause oprofile to fail on non-multithreaded systems with more
than 2 processors such as the BCM1480.

Reported by Manish Lachwani (mlachwani@mvista.com).

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 89d8ab69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
#define vpe_id()	smp_processor_id()
#else
#define WHAT		0
#define vpe_id()	smp_processor_id()
#define vpe_id()	0
#endif

#define __define_perf_accessors(r, n, np)				\