]>
Commit | Line | Data |
---|---|---|
12788f63 MT |
1 | 2010-08-10 Dinakar Guniguntala <dino@in.ibm.com> |
2 | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | |
3 | ||
4 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: If | |
5 | FUTEX_WAKE_OP fails make sure to call FUTEX_WAKE instead. | |
6 | ||
7 | Index: glibc-2.12-2-gc4ccff1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S | |
8 | =================================================================== | |
9 | --- glibc-2.12-2-gc4ccff1.orig/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S | |
10 | +++ glibc-2.12-2-gc4ccff1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S | |
11 | @@ -163,7 +163,6 @@ __pthread_cond_signal: | |
12 | #endif | |
13 | orl $FUTEX_WAKE, %ecx | |
14 | ||
15 | - xorl $(FUTEX_WAKE ^ FUTEX_WAKE_OP), %ecx | |
16 | movl $SYS_futex, %eax | |
17 | /* %edx should be 1 already from $FUTEX_WAKE_OP syscall. | |
18 | movl $1, %edx */ |