Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 26 Aug 2003 20:29:48 +0000 (20:29 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 26 Aug 2003 20:29:48 +0000 (20:29 +0000)
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.

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h

index 4d291ea109b60dfde5249d691ac518725f84bfff..fa41d2ac769c9370058eb5d07dd7fe7ac41fbab9 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2003-08-25  Ulrich Drepper  <drepper@redhat.com>
 
        * tst-cancel4.c (do_test): Also unlink tempfname and remove
index 00ca257ca00cde948864fe392cc85a5008a07c33..a987accbed0e503096205fe1c5fe1973114e8307 100644 (file)
@@ -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);                                             \
   }))