[MIPS] Fix oprofile logic to physical counter remapping
authorRalf Baechle <ralf@linux-mips.org>
Tue, 24 Apr 2007 20:42:20 +0000 (21:42 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 24 Apr 2007 21:10:18 +0000 (22:10 +0100)
commit6f4c5bdef2943d9ec074be32c437ca897016aaad
tree8a351227e115f08d2c505e08aae90d3cb53763b3
parent89d8ab6993e1d9f3c482ee8c862c03c528f696aa
[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>
arch/mips/oprofile/op_model_mipsxx.c