提交 64c590b7 编写于 作者: R Ralf Baechle

[MIPS] SMTC: Synchronize cp0 counters on bootup.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 cb56837e
......@@ -476,6 +476,7 @@ void mipsmt_prepare_cpus(void)
write_vpe_c0_compare(0);
/* Propagate Config7 */
write_vpe_c0_config7(read_c0_config7());
write_vpe_c0_count(read_c0_count());
}
/* enable multi-threading within VPE */
write_vpe_c0_vpecontrol(read_vpe_c0_vpecontrol() | VPECONTROL_TE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册