]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] kill sys32_pipe
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Sep 2008 16:18:10 +0000 (18:18 +0200)
committerTony Luck <tony.luck@intel.com>
Fri, 17 Oct 2008 19:44:26 +0000 (12:44 -0700)
It's just a duplicate of the generic sys_pipe that still lacks the
recently added error handling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/ia32/ia32_entry.S
arch/ia64/ia32/sys_ia32.c

index fa984430561012dd2e24901dd84002452dab97e4..82a7a0bc5d2ea7267873d140887080c6dfcab679 100644 (file)
@@ -215,7 +215,7 @@ ia32_syscall_table:
        data8 sys_mkdir
        data8 sys_rmdir           /* 40 */
        data8 sys_dup
-       data8 sys32_pipe
+       data8 sys_pipe
        data8 compat_sys_times
        data8 sys_ni_syscall      /* old prof syscall holder */
        data8 sys32_brk           /* 45 */
index 0fd06b471bc1f6269c0c0f85f77bca4238a40641..800a7174a5cb07d848d31906f26739c43e02b57e 100644 (file)
@@ -1098,21 +1098,6 @@ sys32_mremap (unsigned int addr, unsigned int old_len, unsigned int new_len,
        return ret;
 }
 
-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 unsigned long
 sys32_alarm (unsigned int seconds)
 {