c6d234
commit fcd89ebe4f5ea948ff4c796771b918cde8960721
c6d234
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
c6d234
Date:   Mon Mar 17 19:31:46 2014 +0530
c6d234
c6d234
    Get rid of __LT_SPINLOCK_INIT
c6d234
    
c6d234
    We got rid of LinuxThreads in 2005, but we didn't remove
c6d234
    __LT_SPINLOCK_INIT back then.  Do it now.
c6d234
    
c6d234
            * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
c6d234
            && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
c6d234
            Remove.
c6d234
c6d234
diff --git a/nptl/sysdeps/pthread/bits/libc-lockP.h b/nptl/sysdeps/pthread/bits/libc-lockP.h
c6d234
index 962a292308f92267..07e0ef62909b9e9e 100644
c6d234
--- a/nptl/sysdeps/pthread/bits/libc-lockP.h
c6d234
+++ b/nptl/sysdeps/pthread/bits/libc-lockP.h
c6d234
@@ -78,13 +78,8 @@ typedef pthread_key_t __libc_key_t;
c6d234
   CLASS __libc_lock_t NAME = LLL_LOCK_INITIALIZER;
c6d234
 # endif
c6d234
 #else
c6d234
-# if __LT_SPINLOCK_INIT == 0
c6d234
-#  define __libc_lock_define_initialized(CLASS,NAME) \
c6d234
+# define __libc_lock_define_initialized(CLASS,NAME) \
c6d234
   CLASS __libc_lock_t NAME;
c6d234
-# else
c6d234
-#  define __libc_lock_define_initialized(CLASS,NAME) \
c6d234
-  CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER;
c6d234
-# endif
c6d234
 #endif
c6d234
 
c6d234
 #define __libc_rwlock_define_initialized(CLASS,NAME) \