diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-26 00:49:15 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-04 03:32:59 +0400 |
commit | ea5d83db6705e2a6d3534b169420586bdb6c5223 (patch) | |
tree | 79917e693f441a6e012fcc670a5432e14611cefc /arch/mips/kernel/signal32.c | |
parent | 45cb66f797cd3b892cec6d7faea449c50053410f (diff) | |
download | linux-ea5d83db6705e2a6d3534b169420586bdb6c5223.tar.xz |
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: return ret; } -SYSCALL_DEFINE3(32_rt_sigqueueinfo, int, pid, int, sig, - compat_siginfo_t __user *, uinfo) -{ - siginfo_t info; - int ret; - mm_segment_t old_fs = get_fs(); - - if (copy_from_user(&info, uinfo, 3*sizeof(int)) || - copy_from_user(info._sifields._pad, uinfo->_sifields._pad, SI_PAD_SIZE)) - return -EFAULT; - set_fs(KERNEL_DS); - ret = sys_rt_sigqueueinfo(pid, sig, (siginfo_t __user *)&info); - set_fs(old_fs); - return ret; -} - static int signal32_init(void) { if (cpu_has_fpu) { |