From: Jens Axboe Date: Sun, 13 Jan 2019 17:57:44 +0000 (-0700) Subject: io_uring: add 32-bit x86 support X-Git-Tag: fio-3.13~24 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=934f42ef6c8878f2442387abe9155b177b4319df;hp=8c5fa7552ff7e2ed0e50e22c0e132f1d43be6359 io_uring: add 32-bit x86 support Signed-off-by: Jens Axboe --- diff --git a/arch/arch-x86.h b/arch/arch-x86.h index c6bcb54c..c1c866ea 100644 --- a/arch/arch-x86.h +++ b/arch/arch-x86.h @@ -1,6 +1,16 @@ #ifndef ARCH_X86_H #define ARCH_X86_H +#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 +#endif + static inline void do_cpuid(unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx) { @@ -36,5 +46,6 @@ static inline unsigned long long get_cpu_clock(void) #define ARCH_HAVE_FFZ #define ARCH_HAVE_CPU_CLOCK +#define ARCH_HAVE_IOURING #endif