X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fum%2Finclude%2Faio.h;h=423bae9153f8adf359330a94321cfc6ab89ee422;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=6096f4f4e5af1b0d5b2951ef80d76fdf5a9c622a;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/arch/um/include/aio.h b/arch/um/include/aio.h index 6096f4f4e..423bae915 100644 --- a/arch/um/include/aio.h +++ b/arch/um/include/aio.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2004 Jeff Dike (jdike@karaya.com) * Licensed under the GPL */ @@ -15,22 +15,14 @@ struct aio_thread_reply { struct aio_context { int reply_fd; + struct aio_context *next; }; -#define INIT_AIO_CONTEXT { .reply_fd = -1 } +#define INIT_AIO_CONTEXT { .reply_fd = -1, \ + .next = NULL } -extern int submit_aio(enum aio_type type, int fd, char *buf, int len, - unsigned long long offset, int reply_fd, void *data); +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 - -/* - * Overrides for Emacs so that we follow Linus's tabbing style. - * Emacs will notice this stuff at the end of the file and automatically - * adjust the settings for this buffer only. This must remain at the end - * of the file. - * --------------------------------------------------------------------------- - * Local variables: - * c-file-style: "linux" - * End: - */