summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-02-10 17:03:47 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-02-14 20:13:25 +0100
commit74a96d943ac96ce607a841a74ff0f84eeb0c3343 (patch)
treefbd438db5e470dedf5f9b723be8b28071658c85f /arch
parent[MIPS] MT: Fix c0 back-to-back hazard. (diff)
downloadlinux-74a96d943ac96ce607a841a74ff0f84eeb0c3343.tar.xz
linux-74a96d943ac96ce607a841a74ff0f84eeb0c3343.zip
[MIPS] MT: Propagate config7 into VPE.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/smp_mt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kernel/smp_mt.c b/arch/mips/kernel/smp_mt.c
index 184fd464686f..c930364830d0 100644
--- a/arch/mips/kernel/smp_mt.c
+++ b/arch/mips/kernel/smp_mt.c
@@ -195,6 +195,9 @@ void prom_prepare_cpus(unsigned int max_cpus)
/* set config to be the same as vpe0, particularly kseg0 coherency alg */
write_vpe_c0_config( read_c0_config());
+
+ /* Propagate Config7 */
+ write_vpe_c0_config7(read_c0_config7());
}
}