diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-01-17 13:58:44 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-01-18 20:08:26 -0500 |
commit | c80697b3a0d05dd87eeeb55c4dd1c3dae047293e (patch) | |
tree | 229ed476b86e41a4e5f9e2241ae145556ab3ce77 /arch/mips/kernel | |
parent | a8b3485287731978899ced11f24628c927890e78 (diff) |
[MIPS] SMTC: Fix cp0 hazard.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/smtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
261 | } | 261 | } |
262 | } | 262 | } |
263 | write_c0_mvpcontrol(read_c0_mvpcontrol() | MVPCONTROL_STLB); | 263 | write_c0_mvpcontrol(read_c0_mvpcontrol() | MVPCONTROL_STLB); |
264 | ehb(); | ||
264 | 265 | ||
265 | /* | 266 | /* |
266 | * Setup kernel data structures to use software total, | 267 | * Setup kernel data structures to use software total, |