Fix typo in urcu/uatomic_generic.h
authorJon Bernard <jbernard@debian.org>
Sun, 7 Mar 2010 02:06:36 +0000 (21:06 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sun, 7 Mar 2010 02:06:36 +0000 (21:06 -0500)
Signed-off-by: Jon Bernard <jbernard@debian.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/uatomic_generic.h

index 93435d1434a4d83cffad14b3605189c3b3563756..f65b398988143a126a664635ad3bbcf8ce1fefeb 100644 (file)
@@ -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:
This page took 0.025679 seconds and 4 git commands to generate.