Skip to content

Commit

Permalink
[IA64] kill sys32_pipe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Tony Luck committed Oct 17, 2008
1 parent 9f3541e commit 0f32dc9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/ia32/ia32_entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
15 changes: 0 additions & 15 deletions arch/ia64/ia32/sys_ia32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0f32dc9

Please sign in to comment.