summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-02-10 14:25:16 +0000
committerRalf Baechle <ralf@linux-mips.org>2006-02-14 19:13:25 +0000
commitfdc9bb16d3e16f674e52aa69306df5732d7f951b (patch)
tree67e7b262ed114462cf716d6e43fdd9e31f825693 /arch
parentfbb6b3a4ac0ccf12a97c98881d9d873d6dc26fe5 (diff)
downloadlwn-fdc9bb16d3e16f674e52aa69306df5732d7f951b.tar.gz
lwn-fdc9bb16d3e16f674e52aa69306df5732d7f951b.zip
[MIPS] MT: Fix c0 back-to-back hazard.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-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);