提交 4cbf8767 编写于 作者: A Atsushi Nemoto 提交者: Ralf Baechle

[MIPS] Fix typo in _sys32_rt_sigreturn and _sysn32_rt_sigreturn.

Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 9cf8ff96
...@@ -537,7 +537,7 @@ _sys32_rt_sigreturn(nabi_no_regargs struct pt_regs regs) ...@@ -537,7 +537,7 @@ _sys32_rt_sigreturn(nabi_no_regargs struct pt_regs regs)
/* The ucontext contains a stack32_t, so we must convert! */ /* The ucontext contains a stack32_t, so we must convert! */
if (__get_user(sp, &frame->rs_uc.uc_stack.ss_sp)) if (__get_user(sp, &frame->rs_uc.uc_stack.ss_sp))
goto badframe; 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)) if (__get_user(st.ss_size, &frame->rs_uc.uc_stack.ss_size))
goto badframe; goto badframe;
if (__get_user(st.ss_flags, &frame->rs_uc.uc_stack.ss_flags)) if (__get_user(st.ss_flags, &frame->rs_uc.uc_stack.ss_flags))
......
...@@ -108,7 +108,7 @@ _sysn32_rt_sigreturn(nabi_no_regargs struct pt_regs regs) ...@@ -108,7 +108,7 @@ _sysn32_rt_sigreturn(nabi_no_regargs struct pt_regs regs)
/* The ucontext contains a stack32_t, so we must convert! */ /* The ucontext contains a stack32_t, so we must convert! */
if (__get_user(sp, &frame->rs_uc.uc_stack.ss_sp)) if (__get_user(sp, &frame->rs_uc.uc_stack.ss_sp))
goto badframe; 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)) if (__get_user(st.ss_size, &frame->rs_uc.uc_stack.ss_size))
goto badframe; goto badframe;
if (__get_user(st.ss_flags, &frame->rs_uc.uc_stack.ss_flags)) if (__get_user(st.ss_flags, &frame->rs_uc.uc_stack.ss_flags))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册