From 75df54b7c8df57a368525292acc1a9869c4d68db Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 6 Feb 2005 20:15:22 +0000 Subject: * configure.in (sysnames): Append sysdeps/generic for each add-on. * configure: Regenerated. --- nptl/ChangeLog | 7 ++++++- nptl/sysdeps/generic/lowlevellock.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index e299ba9af5..5ba1a14cbb 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2004-11-03 Marcus Brinkmann + + * sysdeps/generic/lowlevellock.h (__generic_mutex_unlock): Fix + order of arguments in invocation of atomic_add_zero. + 2005-01-26 Jakub Jelinek * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S (__new_sem_trywait): @@ -96,7 +101,7 @@ * sysdeps/pthread/posix-timer.h (__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Removed. - * sysdeps/unix/sysv/linux/ia64/bits/posix_>opt.h: Removed. + * sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Removed. * sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: Removed. 2004-12-07 Jakub Jelinek 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 -- cgit v1.2.3