mirror of git://sourceware.org/git/glibc.git
Fix x86 pthread_cond_signal() FUTEX_WAKE_OP fallback
This commit is contained in:
parent
b9b42ee01c
commit
022f6b8920
|
|
@ -1,3 +1,9 @@
|
||||||
|
2010-08-10 Dinakar Guniguntala <dino@in.ibm.com>
|
||||||
|
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: If
|
||||||
|
FUTEX_WAKE_OP fails make sure to call FUTEX_WAKE instead.
|
||||||
|
|
||||||
2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
|
2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/i386/Makefile: New file.
|
* sysdeps/unix/sysv/linux/i386/Makefile: New file.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2002,2003,2004,2005,2007,2009 Free Software Foundation, Inc.
|
/* Copyright (C) 2002-2005,2007,2009,2010 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
|
|
@ -163,7 +163,6 @@ __pthread_cond_signal:
|
||||||
#endif
|
#endif
|
||||||
orl $FUTEX_WAKE, %ecx
|
orl $FUTEX_WAKE, %ecx
|
||||||
|
|
||||||
xorl $(FUTEX_WAKE ^ FUTEX_WAKE_OP), %ecx
|
|
||||||
movl $SYS_futex, %eax
|
movl $SYS_futex, %eax
|
||||||
/* %edx should be 1 already from $FUTEX_WAKE_OP syscall.
|
/* %edx should be 1 already from $FUTEX_WAKE_OP syscall.
|
||||||
movl $1, %edx */
|
movl $1, %edx */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue