libaio/ARM_io_getevents.diff

23 lines
967 B
Diff
Raw Normal View History

# from http://projects.linuxtogo.org/pipermail/openembedded-commits/2006-October/001139.html
diff -Napur _/src/io_getevents.c libaio-0.3.104/src/io_getevents.c
--- _/src/io_getevents.c 2003-06-18 21:58:21.000000000 +0200
+++ libaio-0.3.104/src/io_getevents.c 2009-07-30 01:15:06.687173277 +0200
@@ -22,7 +22,7 @@
#include <time.h>
#include "syscall.h"
-io_syscall5(int, __io_getevents_0_4, io_getevents, io_context_t, ctx, long, min_nr, long, nr, struct io_event *, events, struct timespec *, timeout)
+io_syscall5(int, io_getevents_0_4, io_getevents, io_context_t, ctx, long, min_nr, long, nr, struct io_event *, events, struct timespec *, timeout)
#define AIO_RING_MAGIC 0xa10a10a1
@@ -51,7 +51,7 @@ int io_getevents_0_4(io_context_t ctx, l
}
do_syscall:
- return __io_getevents_0_4(ctx, min_nr, nr, events, timeout);
+ return io_getevents_0_4(ctx, min_nr, nr, events, timeout);
}
DEFSYMVER(io_getevents_0_4, io_getevents, 0.4)