[PATCH] Don't hide pthread_mutex_setpshared in os-linux.h

From: Shawn Lewis <shawnlewis_at_google.com>
Date: Wed, 25 Jul 2007 12:24:01 -0700 (PDT)

diff --git a/os/os-linux.h b/os/os-linux.h
index 3f410d9..f86ed32 100644
--- a/os/os-linux.h
+++ b/os/os-linux.h
@@ -23,7 +23,6 @@ #define FIO_HAVE_ODIRECT
 #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 @@ #define fio_getaffinity(pid, ptr) \
 #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);
Received on Wed Jul 25 2007 - 21:24:01 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 25 2007 - 21:30:02 CEST