[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r8585 - in /trunk/libc: ChangeLog.eglibc nptl/nptl-init.c



Author: joseph
Date: Tue Jun 23 12:57:47 2009
New Revision: 8585

Log:
	* nptl/nptl-init.c (sighandler_setxid): Remove duplicate decrement
	of __xidcmd->cntr.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/nptl/nptl-init.c

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Tue Jun 23 12:57:47 2009
@@ -1,3 +1,8 @@
+2009-06-23  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* nptl/nptl-init.c (sighandler_setxid): Remove duplicate decrement
+	of __xidcmd->cntr.
+
 2009-06-01  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* nptl/nptl-init.c: Restore local changes lost in upstream rename.

Modified: trunk/libc/nptl/nptl-init.c
==============================================================================
--- trunk/libc/nptl/nptl-init.c (original)
+++ trunk/libc/nptl/nptl-init.c Tue Jun 23 12:57:47 2009
@@ -240,9 +240,6 @@
   INTERNAL_SYSCALL_NCS (__xidcmd->syscall_no, err, 3, __xidcmd->id[0],
 			__xidcmd->id[1], __xidcmd->id[2]);
 
-  if (atomic_decrement_val (&__xidcmd->cntr) == 0)
-    lll_futex_wake (&__xidcmd->cntr, 1, LLL_PRIVATE);
-
   /* Reset the SETXID flag.  */
   struct pthread *self = THREAD_SELF;
   int flags, newval;