MIPS: Netlogic: Call xlp_mmu_init on all threads
The config7/config4 register has to be written on all the threads. This does not cause any problems in XLP, but is needed for XLPII Signed-off-by: Jayachandran C <jchandra@broadcom.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5700/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
4ca86a2ff3
commit
5b6ff35d33
|
@ -106,9 +106,7 @@ void nlm_early_init_secondary(int cpu)
|
|||
{
|
||||
change_c0_config(CONF_CM_CMASK, 0x3);
|
||||
#ifdef CONFIG_CPU_XLP
|
||||
/* mmu init, once per core */
|
||||
if (cpu % NLM_THREADS_PER_CORE == 0)
|
||||
xlp_mmu_init();
|
||||
xlp_mmu_init();
|
||||
#endif
|
||||
write_c0_ebase(nlm_current_node()->ebase);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue