[MIPS] SMTC: Fix cp0 hazard.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jan 2007 18:58:44 +0000 (18:58 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 19 Jan 2007 01:08:26 +0000 (01:08 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smtc.c

index 802febed7df595016087cb90e106e06030835f41..a8b387197d5bf79f9ac506f29cc42a9db1e40ecd 100644 (file)
@@ -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,