From 2c1d61722625a1ee57ab284aad42acb7ec5662ca Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 15 May 2007 06:49:29 +0000 Subject: * version.h (VERSION): Define to 6. * include/features.h (__GLIBC_MINOR__): Likewise. --- nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S') diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S index cc3a9a9cee..7f608a5974 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/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 , 2002. @@ -41,18 +41,15 @@ sem_post: LOCK xaddl %edx, (%rdi) - testl %edx, %edx - jne 2f - movl $SYS_futex, %eax movl $FUTEX_WAKE, %esi - movl $1, %edx + incl %edx syscall testq %rax, %rax js 1f -2: xorl %eax, %eax + xorl %eax, %eax retq 1: -- cgit v1.2.3