diff options
Diffstat (limited to 'arch/mips/netlogic/common/smp.c')
-rw-r--r-- | arch/mips/netlogic/common/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/netlogic/common/smp.c b/arch/mips/netlogic/common/smp.c index fab316de57e9..cd39f5429e8a 100644 --- a/arch/mips/netlogic/common/smp.c +++ b/arch/mips/netlogic/common/smp.c | |||
@@ -98,7 +98,7 @@ void nlm_early_init_secondary(int cpu) | |||
98 | change_c0_config(CONF_CM_CMASK, 0x3); | 98 | change_c0_config(CONF_CM_CMASK, 0x3); |
99 | write_c0_ebase((uint32_t)nlm_common_ebase); | 99 | write_c0_ebase((uint32_t)nlm_common_ebase); |
100 | #ifdef CONFIG_CPU_XLP | 100 | #ifdef CONFIG_CPU_XLP |
101 | if (hard_smp_processor_id() % 4 == 0) | 101 | if (cpu % 4 == 0) |
102 | xlp_mmu_init(); | 102 | xlp_mmu_init(); |
103 | #endif | 103 | #endif |
104 | } | 104 | } |