projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
io_uring: add 32-bit x86 support
[fio.git]
/
arch
/
arch-x86.h
diff --git
a/arch/arch-x86.h
b/arch/arch-x86.h
index c6bcb54ccf0d36d442401b483a788959a7358709..c1c866eab429e3ac0d5304559ab40024b893ee3f 100644
(file)
--- a/
arch/arch-x86.h
+++ b/
arch/arch-x86.h
@@
-1,6
+1,16
@@
#ifndef ARCH_X86_H
#define ARCH_X86_H
#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)
{
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_FFZ
#define ARCH_HAVE_CPU_CLOCK
+#define ARCH_HAVE_IOURING
#endif
#endif