Blame SOURCES/glibc-rh623187.patch

b40826
2010-08-10  Dinakar Guniguntala  <dino@in.ibm.com>
b40826
	    Stefan Hajnoczi  <stefanha@linux.vnet.ibm.com>
b40826
b40826
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: If
b40826
	FUTEX_WAKE_OP fails make sure to call FUTEX_WAKE instead.
b40826
b40826
Index: glibc-2.12-2-gc4ccff1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
b40826
===================================================================
b40826
--- glibc-2.12-2-gc4ccff1.orig/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
b40826
+++ glibc-2.12-2-gc4ccff1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
b40826
@@ -163,7 +163,6 @@ __pthread_cond_signal:
b40826
 #endif
b40826
 	orl	$FUTEX_WAKE, %ecx
b40826
 
b40826
-	xorl	$(FUTEX_WAKE ^ FUTEX_WAKE_OP), %ecx
b40826
 	movl	$SYS_futex, %eax
b40826
 	/* %edx should be 1 already from $FUTEX_WAKE_OP syscall.
b40826
 	movl	$1, %edx  */