From c80697b3a0d05dd87eeeb55c4dd1c3dae047293e Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 17 Jan 2007 18:58:44 +0000 Subject: [PATCH] [MIPS] SMTC: Fix cp0 hazard. Signed-off-by: Ralf Baechle --- arch/mips/kernel/smtc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index 802febed7df5..a8b387197d5b 100644 --- a/arch/mips/kernel/smtc.c +++ b/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,