aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/aio.c')
-rw-r--r--arch/um/os-Linux/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/aio.c b/arch/um/os-Linux/aio.c
index b04897cd995d..182905be869e 100644
--- a/arch/um/os-Linux/aio.c
+++ b/arch/um/os-Linux/aio.c
@@ -142,7 +142,7 @@ static int aio_thread(void *arg)
142 "errno = %d\n", errno); 142 "errno = %d\n", errno);
143 } 143 }
144 else { 144 else {
145 aio = (struct aio_context *) event.data; 145 aio = (struct aio_context *) (long) event.data;
146 if(update_aio(aio, event.res)){ 146 if(update_aio(aio, event.res)){
147 do_aio(ctx, aio); 147 do_aio(ctx, aio);
148 continue; 148 continue;