Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96235
b: refs/heads/master
c: 9b013c2
h: refs/heads/master
i:
  96233: 37ef41b
  96231: cf444e8
v: v3
  • Loading branch information
Christoph Hellwig authored and Linus Torvalds committed May 9, 2008
1 parent e9edac4 commit b79e0cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 41d88d55b2891203e98d1dc0acab949ffd0af078
refs/heads/master: 9b013c2820c409ff84871e55e407ec2181782773
23 changes: 0 additions & 23 deletions trunk/arch/m32r/kernel/sys_m32r.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,29 +76,6 @@ asmlinkage int sys_tas(int __user *addr)
return oldval;
}

/*
* sys_pipe() is the normal C calling standard for creating
* a pipe. It's not the way Unix traditionally does this, though.
*/
asmlinkage int
sys_pipe(unsigned long r0, unsigned long r1, unsigned long r2,
unsigned long r3, unsigned long r4, unsigned long r5,
unsigned long r6, struct pt_regs regs)
{
int fd[2];
int error;

error = do_pipe(fd);
if (!error) {
if (copy_to_user((void __user *)r0, fd, 2*sizeof(int))) {
sys_close(fd[0]);
sys_close(fd[1]);
error = -EFAULT;
}
}
return error;
}

asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
unsigned long prot, unsigned long flags,
unsigned long fd, unsigned long pgoff)
Expand Down

0 comments on commit b79e0cf

Please sign in to comment.