about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-15 06:49:29 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-15 06:49:29 +0000
commit2c1d61722625a1ee57ab284aad42acb7ec5662ca (patch)
tree0ea088eded588d3d43cb348687d7422598ab9382 /nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
parent83d87915da34fc02d170ff8c356406040da2823f (diff)
downloadglibc-2c1d61722625a1ee57ab284aad42acb7ec5662ca.tar.gz
glibc-2c1d61722625a1ee57ab284aad42acb7ec5662ca.tar.xz
glibc-2c1d61722625a1ee57ab284aad42acb7ec5662ca.zip
* version.h (VERSION): Define to 6. glibc-2.6 cvs/glibc-2_6-base cvs/glibc-2_6
	* include/features.h (__GLIBC_MINOR__): Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S7
1 files changed, 2 insertions, 5 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
index 2813c20ef8..71e96d2228 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -44,12 +44,9 @@ __new_sem_post:
 	LOCK
 	xaddl	%edx, (%ebx)
 
-	testl	%edx, %edx
-	jne	2f
-
 	movl	$SYS_futex, %eax
 	movl	$FUTEX_WAKE, %ecx
-	movl	$1, %edx
+	addl	$1, %edx
 	ENTER_KERNEL
 
 	testl	%eax, %eax