Whamcloud - gitweb
b=20355 formalize support for pthreads
[fs/lustre-release.git] / libcfs / libcfs / user-lock.c
index ab5cf6e..2b1c11e 100644 (file)
@@ -255,7 +255,7 @@ void cfs_fini_rwsem(cfs_rw_semaphore_t *s)
         (void)s;
 }
 
-#ifdef HAVE_LIBPTHREAD
+#ifdef HAVE_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_LIBPTHREAD */
+#endif /* HAVE_PTHREAD */
 
 
 /* !__KERNEL__ */