mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[MIPS] Oprofile: Fix MIPSxx counter number detection.
Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
53c1b192ec
commit
ea3df4ac7d
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ static inline int n_counters(void)
|
|||
{
|
||||
int counters = __n_counters();
|
||||
|
||||
#ifndef CONFIG_SMP
|
||||
#ifdef CONFIG_MIPS_MT_SMP
|
||||
if (current_cpu_data.cputype == CPU_34K)
|
||||
return counters >> 1;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue