Explorar o código

[MIPS] SMTC: Fix cp0 hazard.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle %!s(int64=18) %!d(string=hai) anos
pai
achega
c80697b3a0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      arch/mips/kernel/smtc.c

+ 1 - 0
arch/mips/kernel/smtc.c

@@ -261,6 +261,7 @@ void smtc_configure_tlb(void)
 		    }
 		}
 		write_c0_mvpcontrol(read_c0_mvpcontrol() | MVPCONTROL_STLB);
+		ehb();
 
 		/*
 		 * Setup kernel data structures to use software total,