summaryrefslogtreecommitdiffstats
path: root/arch/x86/ia32/sys_ia32.c
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2009-08-06 15:58:12 -0700
committerIngo Molnar <mingo@elte.hu>2009-08-08 18:20:52 +0200
commit4c711576b90cc36c13b94816a953a8de6a53d03c (patch)
treeba960c22ab257e3b139c1429ed0f0a91aab1b5aa /arch/x86/ia32/sys_ia32.c
parent72c4d8530244264317a662de9a55cc47e6c8e9df (diff)
downloadop-kernel-dev-4c711576b90cc36c13b94816a953a8de6a53d03c.zip
op-kernel-dev-4c711576b90cc36c13b94816a953a8de6a53d03c.tar.gz
x86, 32-bit: Use generic sys_pipe()
As suggested by Al, it's better to use the generic sys_pipe() for ia32. Signed-off-by: WANG Cong <amwang@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/ia32/sys_ia32.c')
-rw-r--r--arch/x86/ia32/sys_ia32.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c
index 085a8c3..9f55271 100644
--- a/arch/x86/ia32/sys_ia32.c
+++ b/arch/x86/ia32/sys_ia32.c
@@ -189,20 +189,6 @@ asmlinkage long sys32_mprotect(unsigned long start, size_t len,
return sys_mprotect(start, len, prot);
}
-asmlinkage long sys32_pipe(int __user *fd)
-{
- int retval;
- int fds[2];
-
- retval = do_pipe_flags(fds, 0);
- if (retval)
- goto out;
- if (copy_to_user(fd, fds, sizeof(fds)))
- retval = -EFAULT;
-out:
- return retval;
-}
-
asmlinkage long sys32_rt_sigaction(int sig, struct sigaction32 __user *act,
struct sigaction32 __user *oact,
unsigned int sigsetsize)
OpenPOWER on IntegriCloud