mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
(lll_trylock): Undo last changed. D'oh.
This commit is contained in:
parent
ce2290cba4
commit
8969b769c0
@ -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" (0) \
|
||||
: "r" (0), "1" (futex), "0" (1) \
|
||||
: "memory"); \
|
||||
ret; })
|
||||
|
||||
@ -192,7 +192,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
|
||||
"lock\n" \
|
||||
"0:\tcmpxchgl %2, %1; setne %0" \
|
||||
: "=a" (ret), "=m" (futex) \
|
||||
: "r" (0), "1" (futex), "0" (0), \
|
||||
: "r" (0), "1" (futex), "0" (1), \
|
||||
"i" (offsetof (tcbhead_t, multiple_threads)) \
|
||||
: "memory"); \
|
||||
ret; })
|
||||
|
Loading…
Reference in New Issue
Block a user