mirror of git://sourceware.org/git/glibc.git
(lll_trylock): Initialize %eax to zero.
This commit is contained in:
parent
d4f64e1ad7
commit
4cf82237a1
|
|
@ -145,7 +145,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
|
|||
({ unsigned char ret; \
|
||||
__asm __volatile (LOCK_INSTR "cmpxchgl %2, %1; setne %0" \
|
||||
: "=a" (ret), "=m" (futex) \
|
||||
: "r" (0), "1" (futex), "0" (1) \
|
||||
: "r" (0), "1" (futex), "0" (0) \
|
||||
: "memory"); \
|
||||
ret; })
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue