Move syslet check into the arch header, where it belongs
authorJens Axboe <jens.axboe@oracle.com>
Wed, 28 Feb 2007 07:54:37 +0000 (08:54 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 28 Feb 2007 07:54:37 +0000 (08:54 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
arch-x86.h
os-linux.h

index 804559d6fa904981b856275e9e5d3cfa4957da18..7b17f095b3e8e8489a078ffa14531bcf99aa3dc3 100644 (file)
@@ -25,6 +25,8 @@
 # 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)
index 549694a468081b31208486dbf4605191dd054fa5..84919539e7a711e6c7d724705314a2c6e03d707b 100644 (file)
 #define FIO_HAVE_ODIRECT
 #define FIO_HAVE_HUGETLB
 
-/*
- * Only for x86 currently
- */
-#if defined(__i386__)
-#define FIO_HAVE_SYSLET
-#endif
-
 #define OS_MAP_ANON            (MAP_ANONYMOUS)
 
 typedef cpu_set_t os_cpu_mask_t;