projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4d8947d
)
[PATCH] Don't hide pthread_mutex_setpshared in os-linux.h
author
Shawn Lewis
<shawnlewis@google.com>
Thu, 26 Jul 2007 05:36:14 +0000
(07:36 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 26 Jul 2007 05:36:14 +0000
(07:36 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os-linux.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-linux.h
b/os/os-linux.h
index 3f410d9cc44aa22b71c1d9c40982703d2c980ef2..f86ed322c150429df9d7a8e99f70c3dbd19d4028 100644
(file)
--- 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);