Merged into the 0.4.3 release. Thanks!
Mathieu * Jon Bernard ([email protected]) wrote: > Signed-off-by: Jon Bernard <[email protected]> > --- > urcu/uatomic_generic.h | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/urcu/uatomic_generic.h b/urcu/uatomic_generic.h > index 93435d1..f65b398 100644 > --- a/urcu/uatomic_generic.h > +++ b/urcu/uatomic_generic.h > @@ -158,9 +158,9 @@ unsigned long _uatomic_exchange(void *addr, unsigned long > val, int len) > > do { > old = uatomic_read((unsigned int *)addr); > - while (!__sync_bool_compare_and_swap_4(addr, old, val)); > + } while (!__sync_bool_compare_and_swap_4(addr, old, val)); > > - } return old; > + return old; > } > #if (BITS_PER_LONG == 64) > case 8: > -- > 1.5.6.5 > > > -- > Jon > > _______________________________________________ > ltt-dev mailing list > [email protected] > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers Operating System Efficiency Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
