Fwd: [MIPS] Fix compile failure in 2.6.36-rc8 on 32-bit MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Too sleepy, missed linux-mips on the To: list of this patch!

Shane

---------- Forwarded message ----------
From: Shane McDonald <mcdonald.shane@xxxxxxxxx>
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@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx,
ralf@xxxxxxxxxxxxxx, viro@xxxxxxxxxxxxxxxx


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@xxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-arch@xxxxxxxxxxxxxxx
Cc: linux-mips@xxxxxxxxxxxxxx
Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
---
 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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux