diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 23:26:57 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-04 00:16:13 +0100 |
commit | d7b5427cec79d993459c162db67eac9e22135e8b (patch) | |
tree | 60b1a7089a4d24c0afed1ecf436388d202bbe38e /arch/s390/kernel/compat_linux.c | |
parent | s390: switch to generic old sigsuspend (diff) | |
download | linux-d7b5427cec79d993459c162db67eac9e22135e8b.tar.xz linux-d7b5427cec79d993459c162db67eac9e22135e8b.zip |
s390: switch to generic compat sched_rr_get_interval()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/s390/kernel/compat_linux.c')
-rw-r--r-- | arch/s390/kernel/compat_linux.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/s390/kernel/compat_linux.c b/arch/s390/kernel/compat_linux.c index 4b95fc652f7c..19f26de27fae 100644 --- a/arch/s390/kernel/compat_linux.c +++ b/arch/s390/kernel/compat_linux.c @@ -352,22 +352,6 @@ asmlinkage long sys32_ftruncate64(unsigned int fd, unsigned long high, unsigned return sys_ftruncate(fd, (high << 32) | low); } -asmlinkage long sys32_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 __force __user *) &t); - set_fs (old_fs); - if (put_compat_timespec(&t, interval)) - return -EFAULT; - return ret; -} - asmlinkage long sys32_pread64(unsigned int fd, char __user *ubuf, size_t count, u32 poshi, u32 poslo) { |