From 4667c19e207cc308e32278851857ec0d705fb008 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 28 Feb 2007 08:54:37 +0100 Subject: [PATCH] Move syslet check into the arch header, where it belongs Signed-off-by: Jens Axboe --- arch-x86.h | 2 ++ os-linux.h | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) 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; -- 2.25.1