From: Jens Axboe Date: Wed, 28 Feb 2007 07:54:37 +0000 (+0100) Subject: Move syslet check into the arch header, where it belongs X-Git-Tag: fio-1.13~30 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=4667c19e207cc308e32278851857ec0d705fb008;p=fio.git Move syslet check into the arch header, where it belongs Signed-off-by: Jens Axboe --- diff --git a/arch-x86.h b/arch-x86.h index 804559d6..7b17f095 100644 --- a/arch-x86.h +++ b/arch-x86.h @@ -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) diff --git a/os-linux.h b/os-linux.h index 549694a4..84919539 100644 --- a/os-linux.h +++ b/os-linux.h @@ -20,13 +20,6 @@ #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;