summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-06-23 19:58:33 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-06-23 19:58:33 +0000
commitda27a04c98b06da68ab4c9b284c722cfc845d1a6 (patch)
tree432343915ab21a1ceda70860a910dc93dea6a364
parent45116db953fce82e817dc654985dc6bbcad5c592 (diff)
* nptl/init.c (sighandler_setxid): Remove duplicate decrement ofeglibc-2_8
__xidcmd->cntr. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_8@8587 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r--libc/ChangeLog.eglibc5
-rw-r--r--libc/nptl/init.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index 8344c9362..906d09b0f 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,3 +1,8 @@
+2009-06-23 Joseph Myers <joseph@codesourcery.com>
+
+ * nptl/init.c (sighandler_setxid): Remove duplicate decrement of
+ __xidcmd->cntr.
+
2009-01-26 Julian Brown <julian@codesourcery.com>
* elf/Makefile ($(objpfx)ld.so): Add sed pattern to recognize text
diff --git a/libc/nptl/init.c b/libc/nptl/init.c
index 517bd1331..a7b458db2 100644
--- a/libc/nptl/init.c
+++ b/libc/nptl/init.c
@@ -216,9 +216,6 @@ sighandler_setxid (int sig, siginfo_t *si, void *ctx)
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;