diff options
author | Jens Axboe <axboe@suse.de> | 2006-03-23 19:56:55 +0100 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-03-23 19:56:55 +0100 |
commit | b86ff981a8252d83d6a7719ae09f3a05307e3592 (patch) | |
tree | ba8839f46cb140664e6a1ff6c7361b7424a95a7f /fs/relayfs/buffers.h | |
parent | b0e6e962992b76580f4900b166a337bad7c1e81b (diff) | |
download | op-kernel-dev-b86ff981a8252d83d6a7719ae09f3a05307e3592.zip op-kernel-dev-b86ff981a8252d83d6a7719ae09f3a05307e3592.tar.gz |
[PATCH] relay: migrate from relayfs to a generic relay API
Original patch from Paul Mundt, sysfs parts removed by me since they
were broken.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'fs/relayfs/buffers.h')
-rw-r--r-- | fs/relayfs/buffers.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/relayfs/buffers.h b/fs/relayfs/buffers.h deleted file mode 100644 index 37a1249..0000000 --- a/fs/relayfs/buffers.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef _BUFFERS_H -#define _BUFFERS_H - -/* This inspired by rtai/shmem */ -#define FIX_SIZE(x) (((x) - 1) & PAGE_MASK) + PAGE_SIZE - -extern int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma); -extern struct rchan_buf *relay_create_buf(struct rchan *chan); -extern void relay_destroy_buf(struct rchan_buf *buf); -extern void relay_remove_buf(struct kref *kref); - -#endif/* _BUFFERS_H */ |