summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/sys_s390.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-09 12:14:53 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-01-09 12:15:06 +0100
commitf47d52afd3bc310a010a037f3cd69d75d163e845 (patch)
treeaaf2d26e51a37923415dac35a5b59241cfa3a07d /arch/s390/kernel/sys_s390.c
parent0680ba0133ffeac4bd3689668b05ea2d16f14ae0 (diff)
downloadtalos-op-linux-f47d52afd3bc310a010a037f3cd69d75d163e845.tar.gz
talos-op-linux-f47d52afd3bc310a010a037f3cd69d75d163e845.zip
[S390] remove code for oldselect system call
The system call isn't wired up on s390. Just delete the dead code. Also we use the common code sys_ptrace system call, so the sys_ptrace declaration is pointless is well. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/sys_s390.c')
-rw-r--r--arch/s390/kernel/sys_s390.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/s390/kernel/sys_s390.c b/arch/s390/kernel/sys_s390.c
index 4fe952e557ac..c34be4568b80 100644
--- a/arch/s390/kernel/sys_s390.c
+++ b/arch/s390/kernel/sys_s390.c
@@ -103,25 +103,6 @@ out:
return error;
}
-#ifndef CONFIG_64BIT
-struct sel_arg_struct {
- unsigned long n;
- fd_set __user *inp, *outp, *exp;
- struct timeval __user *tvp;
-};
-
-asmlinkage long old_select(struct sel_arg_struct __user *arg)
-{
- struct sel_arg_struct a;
-
- if (copy_from_user(&a, arg, sizeof(a)))
- return -EFAULT;
- /* sys_select() does the appropriate kernel locking */
- return sys_select(a.n, a.inp, a.outp, a.exp, a.tvp);
-
-}
-#endif /* CONFIG_64BIT */
-
/*
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
*
OpenPOWER on IntegriCloud