Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
ralfbaechle committed Apr 24, 2007
1 parent 89d8ab6 commit 6f4c5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/oprofile/op_model_mipsxx.c
Expand Up @@ -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) \
Expand Down

0 comments on commit 6f4c5bd

Please sign in to comment.