From: Shawn Lewis Date: Thu, 26 Jul 2007 05:36:14 +0000 (+0200) Subject: [PATCH] Don't hide pthread_mutex_setpshared in os-linux.h X-Git-Tag: fio-1.17~55 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=09c6cb22aa0a0b179d428bfb6cda0dfb11367b13;p=fio.git [PATCH] Don't hide pthread_mutex_setpshared in os-linux.h Signed-off-by: Jens Axboe --- diff --git a/os/os-linux.h b/os/os-linux.h index 3f410d9c..f86ed322 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -23,7 +23,6 @@ #define FIO_HAVE_HUGETLB #define FIO_HAVE_RAWBIND #define FIO_HAVE_BLKTRACE -#define FIO_HAVE_SETPSHARED #define OS_MAP_ANON (MAP_ANONYMOUS) @@ -64,10 +63,6 @@ typedef struct drand48_data os_random_state_t; #endif #endif -#ifndef FIO_HAVE_SETPSHARED -#define pthread_mutexattr_setpshared(attr, pshared) (0) -#endif - static inline int ioprio_set(int which, int who, int ioprio) { return syscall(__NR_ioprio_set, which, who, ioprio);