Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] [MIPS] Fix resume for 64k page size (#2).
@ 2007-07-10 17:44 pwatkins
  0 siblings, 0 replies; only message in thread
From: pwatkins @ 2007-07-10 17:44 UTC (permalink / raw)
  To: linux-mips, ralf; +Cc: Peter Watkins

From: Peter Watkins <pwatkins@sicortex.com>

Fixup according to Thiemo and Maciej's comments.

Signed-off-by: Peter Watkins <pwatkins@sicortex.com>
---
 arch/mips/kernel/r4k_switch.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S
index 65f0f91..ca7f71a 100644
--- a/arch/mips/kernel/r4k_switch.S
+++ b/arch/mips/kernel/r4k_switch.S
@@ -85,7 +85,7 @@ #endif
 	move	$28, a2
 	cpu_restore_nonscratch a1
 
-#if (_THREAD_SIZE) < 0x10000
+#if (_THREAD_SIZE - 32) < 0x8000
 	PTR_ADDIU	t0, $28, _THREAD_SIZE - 32
 #else
 	PTR_LI		t0, _THREAD_SIZE - 32
-- 
1.4.2.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-10 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-10 17:44 [PATCH] [MIPS] Fix resume for 64k page size (#2) pwatkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox