diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-08-26 20:29:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-08-26 20:29:48 +0000 |
commit | 13b3edfc7340eb2dc59669c1aaccab32f9207d39 (patch) | |
tree | dcb402e35bfa447476612c0740db007088925a31 /nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h | |
parent | 2fe98a4ae7dadec3aa4dfed4fe041aacfa641de9 (diff) | |
download | glibc-13b3edfc7340eb2dc59669c1aaccab32f9207d39.tar glibc-13b3edfc7340eb2dc59669c1aaccab32f9207d39.tar.gz glibc-13b3edfc7340eb2dc59669c1aaccab32f9207d39.tar.bz2 glibc-13b3edfc7340eb2dc59669c1aaccab32f9207d39.zip |
Update.
2003-08-26 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
(lll_mutex_unlock_force): Add memory barrier between store and futex
syscall.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h index 00ca257ca0..a987accbed 100644 --- a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h @@ -148,6 +148,7 @@ extern int __lll_timedlock_wait ((void) ({ \ int *__futex = &(lock); \ *__futex = 0; \ + __asm __volatile (__lll_rel_instr ::: "memory"); \ lll_futex_wake (__futex, 1); \ })) |