]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/kernel/smp-bmips.c
MIPS: BMIPS: Fix thinko to release slave TP from reset
[karo-tx-linux.git] / arch / mips / kernel / smp-bmips.c
index aea6c088583847d93092f4125cdfa1dca35fa495..67445374014f6cd4c0e93713c2eeb0f1874df0f4 100644 (file)
@@ -173,7 +173,7 @@ static void bmips_boot_secondary(int cpu, struct task_struct *idle)
        else {
 #if defined(CONFIG_CPU_BMIPS4350) || defined(CONFIG_CPU_BMIPS4380)
                /* Reset slave TP1 if booting from TP0 */
-               if (cpu_logical_map(cpu) == 0)
+               if (cpu_logical_map(cpu) == 1)
                        set_c0_brcm_cmt_ctrl(0x01);
 #elif defined(CONFIG_CPU_BMIPS5000)
                if (cpu & 0x01)