From 590b40f7ec801ea1b4be47112a016ed369041e64 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 8 Sep 2004 07:02:28 +0000 Subject: Update. 2004-09-07 Jakub Jelinek * sysdeps/powerpc/powerpc64/configure.in: New file. * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add. * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove. * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX, BODY_PREFIX): Define. (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols, USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries. * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h. (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros. --- nptl/DESIGN-barrier.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/DESIGN-barrier.txt') diff --git a/nptl/DESIGN-barrier.txt b/nptl/DESIGN-barrier.txt index b0fbf14fb1..23463c6b7e 100644 --- a/nptl/DESIGN-barrier.txt +++ b/nptl/DESIGN-barrier.txt @@ -37,7 +37,7 @@ pthread_barrier_wait(barrier_t *barrier) } while (event == barrier->curr_event); } - if (atomic_exchange_and_add (barrier->left, 1) == barrier->init_count - 1) + if (atomic_increment_val (barrier->left) == barrier->init_count) lll_unlock(barrier->lock); return result; -- cgit v1.2.3