about summary refs log tree commit diff
path: root/nptl/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-06 20:15:22 +0000
committerRoland McGrath <roland@gnu.org>2005-02-06 20:15:22 +0000
commit75df54b7c8df57a368525292acc1a9869c4d68db (patch)
tree1cfc60c09ef4757252edd376f7cf3f1430d5fec1 /nptl/sysdeps/generic
parent69553a9bd8a2827f1602a593d3eebbe329fb1f7f (diff)
downloadglibc-75df54b7c8df57a368525292acc1a9869c4d68db.tar.gz
glibc-75df54b7c8df57a368525292acc1a9869c4d68db.tar.xz
glibc-75df54b7c8df57a368525292acc1a9869c4d68db.zip
* configure.in (sysnames): Append sysdeps/generic for each add-on.
	* configure: Regenerated.
Diffstat (limited to 'nptl/sysdeps/generic')
-rw-r--r--nptl/sysdeps/generic/lowlevellock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/generic/lowlevellock.h b/nptl/sysdeps/generic/lowlevellock.h
index 9cffca83e6..7f95daadad 100644
--- a/nptl/sysdeps/generic/lowlevellock.h
+++ b/nptl/sysdeps/generic/lowlevellock.h
@@ -76,7 +76,7 @@ __generic_mutex_unlock (int *mutex)
   /* Adding 0x80000000 to the counter results in 0 if and only if
      there are not other interested threads - we can return (this is
      the fastpath).  */
-  if (atomic_add_zero (0x80000000, mutex))
+  if (atomic_add_zero (mutex, 0x80000000))
     return;
 
   /* There are other threads waiting for this mutex, wake one of them