Blame SOURCES/glibc-rh623187.patch

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