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