| To: | linux-mips@linux-mips.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH] [MIPS] Fix resume for 64k page size (#2). |
| From: | pwatkins@sicortex.com |
| Date: | Tue, 10 Jul 2007 13:44:51 -0400 |
| Cc: | Peter Watkins <pwatkins@sicortex.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] [MIPS] Fix resume for 64K page size, Maciej W. Rozycki |
|---|---|
| Next by Date: | start_secondary flushing remote icaches?, Peter Watkins |
| Previous by Thread: | [PATCH] [MIPS] Fix resume for 64K page size, pwatkins |
| Next by Thread: | start_secondary flushing remote icaches?, Peter Watkins |
| Indexes: | [Date] [Thread] [Top] [All Lists] |