summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp_mt.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-02-10 15:25:16 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-02-14 20:13:25 +0100
commitfdc9bb16d3e16f674e52aa69306df5732d7f951b (patch)
tree67e7b262ed114462cf716d6e43fdd9e31f825693 /arch/mips/kernel/smp_mt.c
parent[MIPS] Get rid of kludgery needed to keep stdargs of old compilers working. (diff)
downloadlinux-fdc9bb16d3e16f674e52aa69306df5732d7f951b.tar.xz
linux-fdc9bb16d3e16f674e52aa69306df5732d7f951b.zip
[MIPS] MT: Fix c0 back-to-back hazard.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/smp_mt.c')
-rw-r--r--arch/mips/kernel/smp_mt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/smp_mt.c b/arch/mips/kernel/smp_mt.c
index 186f5deced40..184fd464686f 100644
--- a/arch/mips/kernel/smp_mt.c
+++ b/arch/mips/kernel/smp_mt.c
@@ -68,6 +68,8 @@ void __init sanitize_tlb_entries(void)
set_c0_mvpcontrol(MVPCONTROL_VPC);
+ back_to_back_c0_hazard();
+
/* Disable TLB sharing */
clear_c0_mvpcontrol(MVPCONTROL_STLB);