]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/aio.c
y2038: syscalls: rename y2038 compat syscalls
[linux.git] / fs / aio.c
index b906ff70c90f809ba1d7a4e6f38019c0df4da4e8..4394d3fe116a9ad2cda11d4b490e6e9ce3a2a728 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -2198,11 +2198,11 @@ SYSCALL_DEFINE6(io_pgetevents_time32,
 
 #if defined(CONFIG_COMPAT_32BIT_TIME)
 
-COMPAT_SYSCALL_DEFINE5(io_getevents, compat_aio_context_t, ctx_id,
-                      compat_long_t, min_nr,
-                      compat_long_t, nr,
-                      struct io_event __user *, events,
-                      struct old_timespec32 __user *, timeout)
+SYSCALL_DEFINE5(io_getevents_time32, __u32, ctx_id,
+               __s32, min_nr,
+               __s32, nr,
+               struct io_event __user *, events,
+               struct old_timespec32 __user *, timeout)
 {
        struct timespec64 t;
        int ret;