From 4cf82237a1692744d3ade7f32ff58f517fae37c0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 10 Mar 2003 08:51:08 +0000 Subject: (lll_trylock): Initialize %eax to zero. --- nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h index c073a834a8..884c8e8b05 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h @@ -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; }) -- cgit 1.4.1