summaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 5c4c43dbf3..ca178dffc5 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
2004-07-05 Jakub Jelinek <jakub@redhat.com>
+ * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_unlock): Use
+ constraint "m" instead of "0" for futex.
+
* shlib-versions: Add powerpc64-.*-linux.*.
2004-07-04 Jakub Jelinek <jakub@redhat.com>
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
index ca8d568038..40c2518af6 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
@@ -272,7 +272,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
".previous\n" \
"2:" \
: "=m" (futex), "=&D" (ignore) \
- : "0" (futex) \
+ : "m" (futex) \
: "ax", "cx", "r11", "cc", "memory"); })
#endif