Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3bd39664481fc51d82e58a3bec6ba77febc7dfae Commit: 3bd39664481fc51d82e58a3bec6ba77febc7dfae Parent: 4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4 Author: Ralf Baechle <[EMAIL PROTECTED]> AuthorDate: Wed Jul 11 08:32:21 2007 +0100 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Thu Jul 12 17:41:05 2007 +0100
[MIPS] Fix resume for 64K page size on R4000 class processors. Problem reported by Peter Watkins <[EMAIL PROTECTED]> but this is a different fix. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- arch/mips/kernel/r4k_switch.S | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S index 0672959..d9bfae5 100644 --- a/arch/mips/kernel/r4k_switch.S +++ b/arch/mips/kernel/r4k_switch.S @@ -85,12 +85,7 @@ move $28, a2 cpu_restore_nonscratch a1 -#if (_THREAD_SIZE - 32) < 0x10000 - PTR_ADDIU t0, $28, _THREAD_SIZE - 32 -#else - PTR_LI t0, _THREAD_SIZE - 32 - PTR_ADDU t0, $28 -#endif + PTR_ADDU t0, $28, _THREAD_SIZE - 32 set_saved_sp t0, t1, t2 #ifdef CONFIG_MIPS_MT_SMTC /* Read-modify-writes of Status must be atomic on a VPE */ - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html