diff options
author | Richard Weinberger <richard@nod.at> | 2014-03-05 14:35:41 (GMT) |
---|---|---|
committer | Richard Weinberger <richard@sigma-star.at> | 2014-08-06 11:04:30 (GMT) |
commit | 7c4f563507c33ca97dcfbd62dba1e9232575d499 (patch) | |
tree | d7af38b4323b9461f80462dbe809a4c42d99e6c1 /arch/mips/kernel/signal_n32.c | |
parent | c001cd21c930ce393c492565d8722bf951564986 (diff) | |
download | linux-7c4f563507c33ca97dcfbd62dba1e9232575d499.tar.xz |
mips: Use sigsp()
Use sigsp() instead of the open coded variant.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/mips/kernel/signal_n32.c')
-rw-r--r-- | arch/mips/kernel/signal_n32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c index 7d04f28..f1d4751 100644 --- a/arch/mips/kernel/signal_n32.c +++ b/arch/mips/kernel/signal_n32.c @@ -108,7 +108,7 @@ static int setup_rt_frame_n32(void *sig_return, struct ksignal *ksig, struct rt_sigframe_n32 __user *frame; int err = 0; - frame = get_sigframe(&ksig->ka, regs, sizeof(*frame)); + frame = get_sigframe(ksig, regs, sizeof(*frame)); if (!access_ok(VERIFY_WRITE, frame, sizeof (*frame))) return -EFAULT; |