Fix compile failure in 2.6.36-rc8 on 32-bit MIPS
Subsystems (2)
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.
--- arch/mips/kernel/scall32-o32.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/kernel/scall32-o32.S +1 -1
@@ -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
Signature · 1 line
1.6.2.4
Too sleepy, missed linux-mips on the To: list of this patch!
Shane
---------- Forwarded message ----------
From: Shane McDonald <[email protected]>
Date: Fri, Oct 15, 2010 at 10:26 PM
Subject: [MIPS] Fix compile failure in 2.6.36-rc8 on 32-bit MIPS
To: [email protected], [email protected], [email protected], [email protected]
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.
---
arch/mips/kernel/scall32-o32.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/kernel/scall32-o32.S +0 -0
@@ -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
Ralf Baechle
AppliedThanks, applied.
Ralf