diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 15:49:15 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:32:59 -0500 |
commit | ea5d83db6705e2a6d3534b169420586bdb6c5223 (patch) | |
tree | 79917e693f441a6e012fcc670a5432e14611cefc /arch/mips/kernel/signal32.c | |
parent | 45cb66f797cd3b892cec6d7faea449c50053410f (diff) |
mips: switch to generic compat rt_sigqueueinfo()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/kernel/signal32.c')
-rw-r--r-- | arch/mips/kernel/signal32.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c index a62b918d6835..b4f0e714cf37 100644 --- a/arch/mips/kernel/signal32.c +++ b/arch/mips/kernel/signal32.c | |||
@@ -614,22 +614,6 @@ out: | |||
614 | return ret; | 614 | return ret; |
615 | } | 615 | } |
616 | 616 | ||
617 | SYSCALL_DEFINE3(32_rt_sigqueueinfo, int, pid, int, sig, | ||
618 | compat_siginfo_t __user *, uinfo) | ||
619 | { | ||
620 | siginfo_t info; | ||
621 | int ret; | ||
622 | mm_segment_t old_fs = get_fs(); | ||
623 | |||
624 | if (copy_from_user(&info, uinfo, 3*sizeof(int)) || | ||
625 | copy_from_user(info._sifields._pad, uinfo->_sifields._pad, SI_PAD_SIZE)) | ||
626 | return -EFAULT; | ||
627 | set_fs(KERNEL_DS); | ||
628 | ret = sys_rt_sigqueueinfo(pid, sig, (siginfo_t __user *)&info); | ||
629 | set_fs(old_fs); | ||
630 | return ret; | ||
631 | } | ||
632 | |||
633 | static int signal32_init(void) | 617 | static int signal32_init(void) |
634 | { | 618 | { |
635 | if (cpu_has_fpu) { | 619 | if (cpu_has_fpu) { |