[MIPS] Oprofile: Fix computation of number of counters.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 6 Dec 2007 09:12:28 +0000 (09:12 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Dec 2007 17:15:58 +0000 (17:15 +0000)
commit5e2862eb5a263a0339a85545d96fb20995d67b1f
treea455b6c67268f31662d61276602509b3221cba1f
parent0e8120e0946152720af3d73691550bba108a3826
[MIPS] Oprofile: Fix computation of number of counters.

VSMP kernels will split the available performance counters between the two
processors / cores.  But don't do this when we're not on a VSMP system ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/op_model_mipsxx.c