From 5bfd37b634aaf1ae85a07fd60dd502851f366594 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 18 Mar 2003 01:21:42 +0000 Subject: 2003-03-17 Roland McGrath * sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait): Formatting tweaks. --- nptl/sysdeps/unix/sysv/linux/lowlevellock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps/unix/sysv') diff --git a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c index 99f804c986..cdde262384 100644 --- a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c +++ b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c @@ -28,8 +28,11 @@ void __lll_lock_wait (int *futex, int val) { do + { lll_futex_wait (futex, val + 1); - while ((val = __lll_add (futex, 1)) != 0); + val = __lll_add (futex, 1); + } + while (val != 0); *futex = 2; } hidden_proto (__lll_lock_wait) -- cgit v1.2.3