* Fwd: [MIPS] Fix compile failure in 2.6.36-rc8 on 32-bit MIPS
[not found] <E1P6yLw-0007i6-SH@localhost>
@ 2010-10-16 4:29 ` Shane McDonald
2010-10-16 9:07 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Shane McDonald @ 2010-10-16 4:29 UTC (permalink / raw)
To: linux-mips
Too sleepy, missed linux-mips on the To: list of this patch!
Shane
---------- Forwarded message ----------
From: Shane McDonald <mcdonald.shane@gmail.com>
Date: Fri, Oct 15, 2010 at 10:26 PM
Subject: [MIPS] Fix compile failure in 2.6.36-rc8 on 32-bit MIPS
To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org,
ralf@linux-mips.org, viro@ftp.linux.org.uk
There was a typo in commit d27240b, MIPS: Sanitize restart logics,
that causes a compile failure in 2.6.36-rc8 on 32-bit MIPS systems.
This patch corrects that typo.
Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: Ralf Baechle <ralf@linux-mips.org>
---
arch/mips/kernel/scall32-o32.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index 58fb2bc..fbaabad 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -63,7 +63,7 @@ stack_done:
sw t0, PT_R7(sp) # set error flag
beqz t0, 1f
- lw t1, PR_R2(sp) # syscall number
+ lw t1, PT_R2(sp) # syscall number
negu v0 # error
sw t1, PT_R0(sp) # save it for syscall restarting
1: sw v0, PT_R2(sp) # result
--
1.6.2.4
^ permalink raw reply related [flat|nested] 2+ messages in thread