Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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: Ralf Baechle <ralf@linux-mips.org>

+1 -1
+1 -1
arch/mips/oprofile/op_model_mipsxx.c
··· 35 35 #define vpe_id() smp_processor_id() 36 36 #else 37 37 #define WHAT 0 38 - #define vpe_id() smp_processor_id() 38 + #define vpe_id() 0 39 39 #endif 40 40 41 41 #define __define_perf_accessors(r, n, np) \