[MIPS] Fix typo in _sys32_rt_sigreturn and _sysn32_rt_sigreturn.
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 14 Feb 2006 13:40:45 +0000 (22:40 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 14 Feb 2006 19:13:26 +0000 (19:13 +0000)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/signal32.c
arch/mips/kernel/signal_n32.c

index da3271e1fdac096e9cab303cddd6ece3d9f50f5f..8a8b8dd90417a242f49e295a01db11672655652f 100644 (file)
@@ -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))
index 384fc4a639a49653d785c4fd817fff429569b2bb..5a3776096f074f794ffe2647c7e4d0ac9bd3f38e 100644 (file)
@@ -108,7 +108,7 @@ _sysn32_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))