diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-01-23 08:03:41 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-23 08:03:41 -0700 |
commit | bceccde79a3d7d701a6b1aacfc8796b3fc4c6e33 (patch) | |
tree | 5825bd644998e069df7d402945f25aba3e350827 | |
parent | 81f9d4616e969693ff11026fd954f23ccc560bee (diff) |
System calls have been renumbered
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | src/syscall.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/syscall.c b/src/syscall.c index d0e35d2..0ad5c13 100644 --- a/src/syscall.c +++ b/src/syscall.c @@ -7,25 +7,15 @@ #include "compat.h" #include "io_uring.h" -#if defined(__x86_64) +#if defined(__x86_64) || defined(__i386__) #ifndef __NR_sys_io_uring_setup -#define __NR_sys_io_uring_setup 335 +#define __NR_sys_io_uring_setup 425 #endif #ifndef __NR_sys_io_uring_enter -#define __NR_sys_io_uring_enter 336 +#define __NR_sys_io_uring_enter 426 #endif #ifndef __NR_sys_io_uring_register -#define __NR_sys_io_uring_register 337 -#endif -#elif defined(__i386__) -#ifndef __NR_sys_io_uring_setup -#define __NR_sys_io_uring_setup 387 -#endif -#ifndef __NR_sys_io_uring_enter -#define __NR_sys_io_uring_enter 388 -#endif -#ifndef __NR_sys_io_uring_register -#define __NR_sys_io_uring_register 389 +#define __NR_sys_io_uring_register 427 #endif #else #error "Arch not supported yet" |