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.
This commit is contained in:
Ulrich Drepper 2003-08-26 20:29:48 +00:00
parent 2fe98a4ae7
commit 13b3edfc73
2 changed files with 7 additions and 0 deletions

View 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

View 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); \
}))