Procházet zdrojové kódy

[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>
Ralf Baechle před 18 roky
rodič
revize
6f4c5bdef2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      arch/mips/oprofile/op_model_mipsxx.c

+ 1 - 1
arch/mips/oprofile/op_model_mipsxx.c

@@ -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)				\