mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[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>
This commit is contained in:
parent
9cf8ff9644
commit
4cbf876790
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
/* 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))
|
||||||
|
|
Loading…
Reference in a new issue