提交 3bd39664 编写于 作者: R Ralf Baechle

[MIPS] Fix resume for 64K page size on R4000 class processors.

Problem reported by Peter Watkins <pwatkins@sicortex.com> but this is
a different fix.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 4eb6bf6b
...@@ -85,12 +85,7 @@ ...@@ -85,12 +85,7 @@
move $28, a2 move $28, a2
cpu_restore_nonscratch a1 cpu_restore_nonscratch a1
#if (_THREAD_SIZE - 32) < 0x10000 PTR_ADDU t0, $28, _THREAD_SIZE - 32
PTR_ADDIU t0, $28, _THREAD_SIZE - 32
#else
PTR_LI t0, _THREAD_SIZE - 32
PTR_ADDU t0, $28
#endif
set_saved_sp t0, t1, t2 set_saved_sp t0, t1, t2
#ifdef CONFIG_MIPS_MT_SMTC #ifdef CONFIG_MIPS_MT_SMTC
/* Read-modify-writes of Status must be atomic on a VPE */ /* Read-modify-writes of Status must be atomic on a VPE */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册