00db10
commit 52dfbe137e41f2da1f5584f6dd9ea89589c71228
00db10
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
00db10
Date:   Thu Jul 4 20:33:03 2013 +0530
00db10
00db10
    Fix lock elision help text in INSTALL and configure
00db10
Index: glibc-2.17-c758a686/INSTALL
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/INSTALL
00db10
+++ glibc-2.17-c758a686/INSTALL
00db10
@@ -141,7 +141,7 @@ will be used, and CFLAGS sets optimizati
00db10
      only if you understand and accept those risks.
00db10
 
00db10
 `--enable-lock-elision=yes'
00db10
-     Enable lock elision for pthread mutexes and rwlocks by default.
00db10
+     Enable lock elision for pthread mutexes by default.
00db10
 
00db10
 `--build=BUILD-SYSTEM'
00db10
 `--host=HOST-SYSTEM'
00db10
Index: glibc-2.17-c758a686/configure
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/configure
00db10
+++ glibc-2.17-c758a686/configure
00db10
@@ -1407,8 +1407,7 @@ Optional Features:
00db10
                           initialize __stack_chk_guard canary with a random
00db10
                           number at program start
00db10
   --enable-lock-elision=yes/no
00db10
-                          Enable lock elision for pthread mutexes and rwlocks
00db10
-                          by default
00db10
+                          Enable lock elision for pthread mutexes by default
00db10
   --enable-add-ons[=DIRS...]
00db10
                           configure and build add-ons in DIR1,DIR2,... search
00db10
                           for add-ons if no parameter given
00db10
Index: glibc-2.17-c758a686/configure.in
00db10
===================================================================
00db10
--- glibc-2.17-c758a686.orig/configure.in
00db10
+++ glibc-2.17-c758a686/configure.in
00db10
@@ -157,7 +157,7 @@ fi
00db10
 
00db10
 AC_ARG_ENABLE([lock-elision],
00db10
 	      AC_HELP_STRING([--enable-lock-elision[=yes/no]],
00db10
-			     [Enable lock elision for pthread mutexes and rwlocks by default]),
00db10
+			     [Enable lock elision for pthread mutexes by default]),
00db10
 	      [enable_lock_elision=$enableval],
00db10
 	      [enable_lock_elision=no])
00db10
 if test "$enable_lock_elision" = yes ; then