summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-01-17 19:58:44 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-01-19 02:08:26 +0100
commitc80697b3a0d05dd87eeeb55c4dd1c3dae047293e (patch)
tree229ed476b86e41a4e5f9e2241ae145556ab3ce77
parentLinux v2.6.20-rc5 (diff)
downloadlinux-c80697b3a0d05dd87eeeb55c4dd1c3dae047293e.tar.xz
linux-c80697b3a0d05dd87eeeb55c4dd1c3dae047293e.zip
[MIPS] SMTC: Fix cp0 hazard.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r--arch/mips/kernel/smtc.c1
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)
}
}
write_c0_mvpcontrol(read_c0_mvpcontrol() | MVPCONTROL_STLB);
+ ehb();
/*
* Setup kernel data structures to use software total,