projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e7ba0
)
Fix typo in urcu/uatomic_generic.h
author
Jon Bernard
<jbernard@debian.org>
Sun, 7 Mar 2010 02:06:36 +0000
(21:06 -0500)
committer
Mathieu 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
patch
|
blob
|
blame
|
history
diff --git
a/urcu/uatomic_generic.h
b/urcu/uatomic_generic.h
index 93435d1434a4d83cffad14b3605189c3b3563756..f65b398988143a126a664635ad3bbcf8ce1fefeb 100644
(file)
--- 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:
This page took
0.025679 seconds
and
4
git commands to generate.