Move syslet check into the arch header, where it belongs
[fio.git] / arch-x86.h
index 2b47a40b20bf9a69a97a576e9d5a951e71a545de..7b17f095b3e8e8489a078ffa14531bcf99aa3dc3 100644 (file)
 #define __NR_sys_vmsplice      316
 #endif
 
-#ifndef __NR_async_register
-#define __NR_async_register    320
-#define        __NR_async_exec         321
-#define __NR_async_wait                322
-#define        __NR_async_unregister   323
-#define __NR_umem_add          324
+#ifndef __NR_async_exec
+# define __NR_async_exec       320
+# define __NR_async_wait       321
+# define __NR_umem_add         322
+# define __NR_async_thread     323
 #endif
 
+#define FIO_HAVE_SYSLET
+
 #define nop    __asm__ __volatile__("rep;nop": : :"memory")
 
 static inline unsigned long ffz(unsigned long bitmask)