diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-22 16:51:34 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-22 16:51:34 +1000 |
commit | 985990137e81ca9fd6561cd0f7d1a9695ec57d5a (patch) | |
tree | 7a67493285623a7356ba7065cada6728993d1a3b /arch/um/include/aio.h | |
parent | 834289447542b7ec55c0847486616d4d53ddf891 (diff) | |
parent | 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f (diff) | |
download | linux-3.10-985990137e81ca9fd6561cd0f7d1a9695ec57d5a.tar.gz linux-3.10-985990137e81ca9fd6561cd0f7d1a9695ec57d5a.tar.bz2 linux-3.10-985990137e81ca9fd6561cd0f7d1a9695ec57d5a.zip |
Merge changes from linux-2.6 by hand
Diffstat (limited to 'arch/um/include/aio.h')
-rw-r--r-- | arch/um/include/aio.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/arch/um/include/aio.h b/arch/um/include/aio.h index 83f16877ab0..423bae9153f 100644 --- a/arch/um/include/aio.h +++ b/arch/um/include/aio.h @@ -14,27 +14,15 @@ struct aio_thread_reply { }; struct aio_context { - enum aio_type type; - int fd; - void *data; - int len; - unsigned long long offset; int reply_fd; struct aio_context *next; }; -#define INIT_AIO(aio_type, aio_fd, aio_data, aio_len, aio_offset, \ - aio_reply_fd) \ - { .type = aio_type, \ - .fd = aio_fd, \ - .data = aio_data, \ - .len = aio_len, \ - .offset = aio_offset, \ - .reply_fd = aio_reply_fd } - #define INIT_AIO_CONTEXT { .reply_fd = -1, \ .next = NULL } -extern int submit_aio(struct aio_context *aio); +extern int submit_aio(enum aio_type type, int fd, char *buf, int len, + unsigned long long offset, int reply_fd, + struct aio_context *aio); #endif |