summaryrefslogtreecommitdiff
path: root/arch/arch-x86-common.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-02-06 07:59:00 -0700
committerJens Axboe <axboe@kernel.dk>2020-02-06 07:59:00 -0700
commitbfed648c9dae6a2459cb43f55c14d8303dcec07b (patch)
tree6b0ceef018d7a8fdc6acad14a9fd0f217463e713 /arch/arch-x86-common.h
parentac694f66968fe7b18c820468abd8333f3df333fb (diff)
downloadfio-bfed648c9dae6a2459cb43f55c14d8303dcec07b.tar.gz
fio-bfed648c9dae6a2459cb43f55c14d8303dcec07b.tar.bz2
Unify architecture io_uring syscall numbers
Only Alpha is the odd one out, apart from that all architectures use the same system call number. So pull the code out arch headers, and into the generic arch header. Fixes: https://github.com/axboe/fio/issues/923 Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/arch-x86-common.h')
-rw-r--r--arch/arch-x86-common.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arch-x86-common.h b/arch/arch-x86-common.h
index 87925bdc..f32835cc 100644
--- a/arch/arch-x86-common.h
+++ b/arch/arch-x86-common.h
@@ -3,16 +3,6 @@
#include <string.h>
-#ifndef __NR_sys_io_uring_setup
-#define __NR_sys_io_uring_setup 425
-#endif
-#ifndef __NR_sys_io_uring_enter
-#define __NR_sys_io_uring_enter 426
-#endif
-#ifndef __NR_sys_io_uring_register
-#define __NR_sys_io_uring_register 427
-#endif
-
static inline void cpuid(unsigned int op,
unsigned int *eax, unsigned int *ebx,
unsigned int *ecx, unsigned int *edx)
@@ -23,7 +13,6 @@ static inline void cpuid(unsigned int op,
}
#define ARCH_HAVE_INIT
-#define ARCH_HAVE_IOURING
extern bool tsc_reliable;
extern int arch_random;