Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356711
b: refs/heads/master
c: 974fdb3
h: refs/heads/master
i:
  356709: cb0feee
  356707: 789474f
  356703: 6c184a3
v: v3
  • Loading branch information
Al Viro committed Feb 3, 2013
1 parent e3cc83b commit b36a7c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 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: 5e392b8db7471c15f587e5f206b7ca98282697e8
refs/heads/master: 974fdb3c20e72e9c0612bc038c968e420d8f9665
18 changes: 6 additions & 12 deletions trunk/arch/mips/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,14 @@
* argument. Historically that used to be expensive in Linux. These days
* the performance advantage is negligible.
*/
asmlinkage int sysm_pipe(nabi_no_regargs volatile struct pt_regs regs)
asmlinkage int sysm_pipe(void)
{
int fd[2];
int error, res;

error = do_pipe_flags(fd, 0);
if (error) {
res = error;
goto out;
}
regs.regs[3] = fd[1];
res = fd[0];
out:
return res;
int error = do_pipe_flags(fd, 0);
if (error)
return error;
current_pt_regs()->regs[3] = fd[1];
return fd[0];
}

SYSCALL_DEFINE6(mips_mmap, unsigned long, addr, unsigned long, len,
Expand Down

0 comments on commit b36a7c6

Please sign in to comment.