summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal32.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-02-14 22:40:45 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-02-14 19:13:26 +0000
commit4cbf8767902c578481ff3df366c77d24fe68fd26 (patch)
tree761833a5031845e5b21f5cb16128a0c47629699d /arch/mips/kernel/signal32.c
parent9cf8ff96447f995d5ea18ec9f25dc8dae26501a2 (diff)
downloadblackbird-obmc-linux-4cbf8767902c578481ff3df366c77d24fe68fd26.tar.gz
blackbird-obmc-linux-4cbf8767902c578481ff3df366c77d24fe68fd26.zip
[MIPS] Fix typo in _sys32_rt_sigreturn and _sysn32_rt_sigreturn.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/signal32.c')
-rw-r--r--arch/mips/kernel/signal32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c
index da3271e1fdac..8a8b8dd90417 100644
--- a/arch/mips/kernel/signal32.c
+++ b/arch/mips/kernel/signal32.c
@@ -537,7 +537,7 @@ _sys32_rt_sigreturn(nabi_no_regargs struct pt_regs regs)
/* The ucontext contains a stack32_t, so we must convert! */
if (__get_user(sp, &frame->rs_uc.uc_stack.ss_sp))
goto badframe;
- st.ss_size = (long) sp;
+ st.ss_sp = (void *)(long) sp;
if (__get_user(st.ss_size, &frame->rs_uc.uc_stack.ss_size))
goto badframe;
if (__get_user(st.ss_flags, &frame->rs_uc.uc_stack.ss_flags))
OpenPOWER on IntegriCloud