diff options
Diffstat (limited to 'arch/mips/netlogic/common/smp.c')
-rw-r--r-- | arch/mips/netlogic/common/smp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/netlogic/common/smp.c b/arch/mips/netlogic/common/smp.c index 4e35d9c453e2..6f8feb9efcff 100644 --- a/arch/mips/netlogic/common/smp.c +++ b/arch/mips/netlogic/common/smp.c | |||
@@ -106,9 +106,7 @@ void nlm_early_init_secondary(int cpu) | |||
106 | { | 106 | { |
107 | change_c0_config(CONF_CM_CMASK, 0x3); | 107 | change_c0_config(CONF_CM_CMASK, 0x3); |
108 | #ifdef CONFIG_CPU_XLP | 108 | #ifdef CONFIG_CPU_XLP |
109 | /* mmu init, once per core */ | 109 | xlp_mmu_init(); |
110 | if (cpu % NLM_THREADS_PER_CORE == 0) | ||
111 | xlp_mmu_init(); | ||
112 | #endif | 110 | #endif |
113 | write_c0_ebase(nlm_current_node()->ebase); | 111 | write_c0_ebase(nlm_current_node()->ebase); |
114 | } | 112 | } |