Browse Source

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

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

Ralf Baechle 19 năm trước cách đây
mục cha
commit
fdc9bb16d3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);
 	set_c0_mvpcontrol(MVPCONTROL_VPC);
 
 
+	back_to_back_c0_hazard();
+
 	/* Disable TLB sharing */
 	/* Disable TLB sharing */
 	clear_c0_mvpcontrol(MVPCONTROL_STLB);
 	clear_c0_mvpcontrol(MVPCONTROL_STLB);