aioring: hide it if archs don't define syscalls
[fio.git] / options.c
index 81fe9ffb750ff421d97e9f8a67d597e79222a111..626c7c1715976c7e77c8e18327caf5d0a3639abb 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1774,10 +1774,12 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                          },
 #endif
 #ifdef CONFIG_LIBAIO
+#ifdef ARCH_HAVE_AIORING
                          { .ival = "aio-ring",
                            .help = "Linux native asynchronous IO",
                          },
 #endif
+#endif
 #ifdef CONFIG_POSIXAIO
                          { .ival = "posixaio",
                            .help = "POSIX asynchronous IO",