io_uring: Enable io_uring ioengine on aarch64 arch
[fio.git] / arch / arch-aarch64.h
index 2a86cc5ab4d9b9cb1bef2dcf5d0aab24bfc38fb8..de9b349be57ed8c8c96a527768071aa00fc55ae4 100644 (file)
@@ -8,6 +8,18 @@
 
 #define FIO_ARCH       (arch_aarch64)
 
+#define ARCH_HAVE_IOURING
+
+#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
+
 #define nop            do { __asm__ __volatile__ ("yield"); } while (0)
 #define read_barrier() do { __sync_synchronize(); } while (0)
 #define write_barrier()        do { __sync_synchronize(); } while (0)