From 13b3edfc7340eb2dc59669c1aaccab32f9207d39 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 26 Aug 2003 20:29:48 +0000 Subject: Update. 2003-08-26 Steven Munroe * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (lll_mutex_unlock_force): Add memory barrier between store and futex syscall. --- nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nptl/sysdeps/unix/sysv') 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); \ })) -- cgit 1.4.1