aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp-mt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/smp-mt.c')
-rw-r--r--arch/mips/kernel/smp-mt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/smp-mt.c b/arch/mips/kernel/smp-mt.c
index 2defa2bbdaa7..bfede063d96a 100644
--- a/arch/mips/kernel/smp-mt.c
+++ b/arch/mips/kernel/smp-mt.c
@@ -71,7 +71,7 @@ static unsigned int __init smvp_vpe_init(unsigned int tc, unsigned int mvpconf0,
71 /* Record this as available CPU */ 71 /* Record this as available CPU */
72 set_cpu_possible(tc, true); 72 set_cpu_possible(tc, true);
73 __cpu_number_map[tc] = ++ncpu; 73 __cpu_number_map[tc] = ++ncpu;
74 __cpu_logical_map[ncpu] = tc; 74 __cpu_logical_map[ncpu] = tc;
75 } 75 }
76 76
77 /* Disable multi-threading with TC's */ 77 /* Disable multi-threading with TC's */
@@ -215,7 +215,7 @@ static void __cpuinit vsmp_boot_secondary(int cpu, struct task_struct *idle)
215 write_tc_gpr_gp((unsigned long)gp); 215 write_tc_gpr_gp((unsigned long)gp);
216 216
217 flush_icache_range((unsigned long)gp, 217 flush_icache_range((unsigned long)gp,
218 (unsigned long)(gp + sizeof(struct thread_info))); 218 (unsigned long)(gp + sizeof(struct thread_info)));
219 219
220 /* finally out of configuration and into chaos */ 220 /* finally out of configuration and into chaos */
221 clear_c0_mvpcontrol(MVPCONTROL_VPC); 221 clear_c0_mvpcontrol(MVPCONTROL_VPC);