Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135929
b: refs/heads/master
c: 10f303a
h: refs/heads/master
i:
  135927: 964139f
v: v3
  • Loading branch information
Cheng Renquan authored and Al Viro committed Mar 27, 2009
1 parent e60cc5a commit fa37da8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 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: 723be1f30046a46471b00106ebef9d8c832f12e9
refs/heads/master: 10f303ae1e5e77a9f7cb053e6329906afb132c67
3 changes: 2 additions & 1 deletion trunk/arch/alpha/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,9 @@ sys_alpha_pipe:
stq $26, 0($sp)
.prologue 0

mov $31, $17
lda $16, 8($sp)
jsr $26, do_pipe
jsr $26, do_pipe_flags

ldq $26, 0($sp)
bne $0, 1f
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/alpha/kernel/osf_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
#include <asm/hwrpb.h>
#include <asm/processor.h>

extern int do_pipe(int *);

/*
* Brk needs to return an error. Still support Linux's brk(0) query idiom,
* which OSF programs just shouldn't be doing. We're still not quite
Expand Down
5 changes: 0 additions & 5 deletions trunk/fs/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1034,11 +1034,6 @@ int do_pipe_flags(int *fd, int flags)
return error;
}

int do_pipe(int *fd)
{
return do_pipe_flags(fd, 0);
}

/*
* sys_pipe() is the normal C calling standard for creating
* a pipe. It's not the way Unix traditionally does this, though.
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,6 @@ static inline void allow_write_access(struct file *file)
if (file)
atomic_inc(&file->f_path.dentry->d_inode->i_writecount);
}
extern int do_pipe(int *);
extern int do_pipe_flags(int *, int);
extern struct file *create_read_pipe(struct file *f, int flags);
extern struct file *create_write_pipe(int flags);
Expand Down

0 comments on commit fa37da8

Please sign in to comment.