diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 17:33:40 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:33:00 -0500 |
commit | 0450d22f4b0c6ab88d2249a71f304326af5cc36c (patch) | |
tree | 02584741d3e58972320a4dd747141b3adc0095f1 /arch/mips/kernel/linux32.c | |
parent | 1910f4ab777f17744aec3b39fa15d3d4340df6d4 (diff) | |
download | linux-0450d22f4b0c6ab88d2249a71f304326af5cc36c.tar.gz linux-0450d22f4b0c6ab88d2249a71f304326af5cc36c.tar.bz2 linux-0450d22f4b0c6ab88d2249a71f304326af5cc36c.zip |
mips: switch to generic compat sched_rr_get_interval()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/kernel/linux32.c')
-rw-r--r-- | arch/mips/kernel/linux32.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c index 7adab86c632c..703b37e13f78 100644 --- a/arch/mips/kernel/linux32.c +++ b/arch/mips/kernel/linux32.c @@ -119,22 +119,6 @@ SYSCALL_DEFINE6(32_pwrite, unsigned int, fd, const char __user *, buf, return sys_pwrite64(fd, buf, count, merge_64(a4, a5)); } -SYSCALL_DEFINE2(32_sched_rr_get_interval, compat_pid_t, pid, - struct compat_timespec __user *, interval) -{ - struct timespec t; - int ret; - mm_segment_t old_fs = get_fs(); - - set_fs(KERNEL_DS); - ret = sys_sched_rr_get_interval(pid, (struct timespec __user *)&t); - set_fs(old_fs); - if (put_user (t.tv_sec, &interval->tv_sec) || - __put_user(t.tv_nsec, &interval->tv_nsec)) - return -EFAULT; - return ret; -} - #ifdef CONFIG_SYSVIPC SYSCALL_DEFINE6(32_ipc, u32, call, long, first, long, second, long, third, |