[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 802febe..a8b3871 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,