diff options
| author | Jakub Jelinek <jakub@redhat.com> | 2007-08-16 21:03:08 +0000 |
|---|---|---|
| committer | Jakub Jelinek <jakub@redhat.com> | 2007-08-16 21:03:08 +0000 |
| commit | 957df4294eacc0b24816986e1fea88d67d993131 (patch) | |
| tree | f6d2f1eb8485a24af23ecc0a11dcf28a8fde5505 | |
| parent | a6b427ce224665ef5152182efb06a23482366cdf (diff) | |
| download | glibc-957df4294eacc0b24816986e1fea88d67d993131.tar.xz glibc-957df4294eacc0b24816986e1fea88d67d993131.zip | |
* sysdeps/unix/sysv/linux/alpha/lowlevellock.h
(__lll_robust_timedlock): Pass private as last argument to
__lll_robust_timedlock_wait.
(__lll_unlock): Fix a pasto.
| -rw-r--r-- | sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h b/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h index 4487607bb3..9fa321cb3f 100644 --- a/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h +++ b/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h @@ -219,7 +219,7 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime, { int result = 0; if (atomic_compare_and_exchange_bool_acq (futex, id, 0) != 0) - result = __lll_robust_timedlock_wait (futex, abstime); + result = __lll_robust_timedlock_wait (futex, abstime, private); return result; } #define lll_robust_timedlock(futex, abstime, id, private) \ @@ -229,7 +229,7 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime, #define __lll_unlock(futex, private) \ (void) \ ({ int *__futex = (futex); \ - ({ int __oldval = atomic_exchange_rel (__futex, 0); \ + int __oldval = atomic_exchange_rel (__futex, 0); \ if (__builtin_expect (__oldval > 1, 0)) \ lll_futex_wake (__futex, 1, private); \ }) |
