lkml.org 
[lkml]   [2010]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[MIPS] Fix compile failure in 2.6.36-rc8 on 32-bit MIPS
From
Date
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


\
 
 \ /
  Last update: 2010-10-16 06:29    [W:0.998 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site