aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-04-11 07:53:10 -0400
committerJens Axboe <axboe@suse.de>2006-04-11 07:53:10 -0400
commit9aeedfc4712ed58d9f7ae41596185c72b8dc97e8 (patch)
treeb055bab09a86cfc6cb13506d2f25da6abd12e3c1 /include/linux
parent7480a90435673b4c717b6caf1350ec577d5f1adf (diff)
[PATCH] get rid of the PIPE_*() macros
get rid of the PIPE_*() macros. Scripted transformation. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pipe_fs_i.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h
index 660e9d866e5d..123a7c24bc72 100644
--- a/include/linux/pipe_fs_i.h
+++ b/include/linux/pipe_fs_i.h
@@ -43,16 +43,6 @@ struct pipe_inode_info {
43 memory allocation, whereas PIPE_BUF makes atomicity guarantees. */ 43 memory allocation, whereas PIPE_BUF makes atomicity guarantees. */
44#define PIPE_SIZE PAGE_SIZE 44#define PIPE_SIZE PAGE_SIZE
45 45
46#define PIPE_MUTEX(inode) (&(inode).i_mutex)
47#define PIPE_WAIT(inode) (&(inode).i_pipe->wait)
48#define PIPE_READERS(inode) ((inode).i_pipe->readers)
49#define PIPE_WRITERS(inode) ((inode).i_pipe->writers)
50#define PIPE_WAITING_WRITERS(inode) ((inode).i_pipe->waiting_writers)
51#define PIPE_RCOUNTER(inode) ((inode).i_pipe->r_counter)
52#define PIPE_WCOUNTER(inode) ((inode).i_pipe->w_counter)
53#define PIPE_FASYNC_READERS(inode) (&((inode).i_pipe->fasync_readers))
54#define PIPE_FASYNC_WRITERS(inode) (&((inode).i_pipe->fasync_writers))
55
56/* Drop the inode semaphore and wait for a pipe event, atomically */ 46/* Drop the inode semaphore and wait for a pipe event, atomically */
57void pipe_wait(struct pipe_inode_info *pipe); 47void pipe_wait(struct pipe_inode_info *pipe);
58 48