summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp-mt.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-10-31 18:33:09 +0000
committerRalf Baechle <ralf@linux-mips.org>2006-10-31 20:13:22 +0000
commit70e46f48cb5933119712ee27945309a4bfc98282 (patch)
treec9a35ca3652659562e8bc534ca2caf563d9ccd88 /arch/mips/kernel/smp-mt.c
parente79f55a8c7aaae5a33e8c2b29682ec8e603b5434 (diff)
downloadtalos-op-linux-70e46f48cb5933119712ee27945309a4bfc98282.tar.gz
talos-op-linux-70e46f48cb5933119712ee27945309a4bfc98282.zip
[MIPS] VSMP: Synchronize cp0 counters on bootup.
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 06b29fa73f56..2ac19a6cbf68 100644
--- a/arch/mips/kernel/smp-mt.c
+++ b/arch/mips/kernel/smp-mt.c
@@ -153,6 +153,8 @@ static void __init smp_copy_vpe_config(void)
/* Propagate Config7 */
write_vpe_c0_config7(read_c0_config7());
+
+ write_vpe_c0_count(read_c0_count());
}
static unsigned int __init smp_vpe_init(unsigned int tc, unsigned int mvpconf0,
OpenPOWER on IntegriCloud