浏览代码

[MIPS] MT: Fix c0 back-to-back hazard.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle 19 年之前
父节点
当前提交
fdc9bb16d3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/mips/kernel/smp_mt.c

+ 2 - 0
arch/mips/kernel/smp_mt.c

@@ -68,6 +68,8 @@ void __init sanitize_tlb_entries(void)
 
 	set_c0_mvpcontrol(MVPCONTROL_VPC);
 
+	back_to_back_c0_hazard();
+
 	/* Disable TLB sharing */
 	clear_c0_mvpcontrol(MVPCONTROL_STLB);