[ltt-dev] [PATCH] Fix typo in urcu/uatomic_generic.h
Mathieu Desnoyers
compudj at krystal.dyndns.org
Sat Mar 6 21:08:51 EST 2010
Merged into the 0.4.3 release.
Thanks!
Mathieu
* Jon Bernard (jbernard at debian.org) wrote:
> Signed-off-by: Jon Bernard <jbernard at debian.org>
> ---
> 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
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
Operating System Efficiency Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list