* [PATCH] ia64: kill sys32_pipe
@ 2008-09-01 16:18 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2008-09-01 16:18 UTC (permalink / raw)
To: linux-ia64
It's just a duplicate of the generic sys_pipe that still lacks the
recently added ærror handling.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: linux-2.6/arch/ia64/ia32/ia32_entry.S
=================================--- linux-2.6.orig/arch/ia64/ia32/ia32_entry.S 2008-09-01 09:30:25.000000000 -0300
+++ linux-2.6/arch/ia64/ia32/ia32_entry.S 2008-09-01 09:32:08.000000000 -0300
@@ -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: linux-2.6/arch/ia64/ia32/sys_ia32.c
=================================--- linux-2.6.orig/arch/ia64/ia32/sys_ia32.c 2008-09-01 09:31:49.000000000 -0300
+++ linux-2.6/arch/ia64/ia32/sys_ia32.c 2008-09-01 09:32:34.000000000 -0300
@@ -1098,21 +1098,6 @@ sys32_mremap (unsigned int addr, unsigne
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;
-}
-
static inline long
get_tv32 (struct timeval *o, struct compat_timeval __user *i)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-01 16:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01 16:18 [PATCH] ia64: kill sys32_pipe Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox