summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/compat_linux.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-10-10 21:33:19 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-10-10 21:33:56 +0200
commitd86730bb9597b02bff59a3a5a01c0094d71a265f (patch)
tree70332771017053609e99c76eba9a8964811cfffb /arch/s390/kernel/compat_linux.c
parent7a0f475513fa573bc8e072021960313da32f0ee3 (diff)
downloadop-kernel-dev-d86730bb9597b02bff59a3a5a01c0094d71a265f.zip
op-kernel-dev-d86730bb9597b02bff59a3a5a01c0094d71a265f.tar.gz
[S390] s390: use sys_pause for 31bit pause entry point
sys32_pause is a useless copy of the generic sys_pause. (and it's certainly not there for old sparc32 binaries..) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/compat_linux.c')
-rw-r--r--arch/s390/kernel/compat_linux.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/s390/kernel/compat_linux.c b/arch/s390/kernel/compat_linux.c
index d7f2222..98e246d 100644
--- a/arch/s390/kernel/compat_linux.c
+++ b/arch/s390/kernel/compat_linux.c
@@ -608,14 +608,6 @@ asmlinkage long sys32_settimeofday(struct compat_timeval __user *tv, struct time
return do_sys_settimeofday(tv ? &kts : NULL, tz ? &ktz : NULL);
}
-/* These are here just in case some old sparc32 binary calls it. */
-asmlinkage long sys32_pause(void)
-{
- current->state = TASK_INTERRUPTIBLE;
- schedule();
- return -ERESTARTNOHAND;
-}
-
asmlinkage long sys32_pread64(unsigned int fd, char __user *ubuf,
size_t count, u32 poshi, u32 poslo)
{
OpenPOWER on IntegriCloud