Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "b=20355 formalize support for pthreads"
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
user-lock.c
diff --git
a/libcfs/libcfs/user-lock.c
b/libcfs/libcfs/user-lock.c
index
bafedff
..
87ba922
100644
(file)
--- a/
libcfs/libcfs/user-lock.c
+++ b/
libcfs/libcfs/user-lock.c
@@
-255,7
+255,7
@@
void cfs_fini_rwsem(cfs_rw_semaphore_t *s)
(void)s;
}
-#ifdef HAVE_PTHREAD
+#ifdef HAVE_
LIB
PTHREAD
/*
* Multi-threaded user space completion
@@
-356,7
+356,7
@@
void cfs_mt_atomic_sub(int b, cfs_mt_atomic_t *a)
pthread_mutex_unlock(&atomic_guard_lock);
}
-#endif /* HAVE_PTHREAD */
+#endif /* HAVE_
LIB
PTHREAD */
/* !__KERNEL__ */