diff options
author | Richard Weinberger <richard@nod.at> | 2014-03-05 15:35:41 +0100 |
---|---|---|
committer | Richard Weinberger <richard@sigma-star.at> | 2014-08-06 13:04:30 +0200 |
commit | 7c4f563507c33ca97dcfbd62dba1e9232575d499 (patch) | |
tree | d7af38b4323b9461f80462dbe809a4c42d99e6c1 /arch/mips/kernel/signal_n32.c | |
parent | c001cd21c930ce393c492565d8722bf951564986 (diff) | |
download | linux-stable-7c4f563507c33ca97dcfbd62dba1e9232575d499.tar.gz linux-stable-7c4f563507c33ca97dcfbd62dba1e9232575d499.tar.bz2 linux-stable-7c4f563507c33ca97dcfbd62dba1e9232575d499.zip |
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 7d04f2868ba6..f1d4751eead0 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; |