projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: properly detect 'cmpxchg' on x86-32
[userspace-rcu.git]
/
include
/
urcu
/
list.h
diff --git
a/include/urcu/list.h
b/include/urcu/list.h
index f3b867839030fb3ceeda4192f2c0f4c20b856971..8cfbd8462d97abe11b9ca5af9f80e0b15b221ab9 100644
(file)
--- a/
include/urcu/list.h
+++ b/
include/urcu/list.h
@@
-46,7
+46,7
@@
struct cds_list_head {
#define CDS_INIT_LIST_HEAD(ptr) \
(ptr)->next = (ptr)->prev = (ptr)
#define CDS_INIT_LIST_HEAD(ptr) \
(ptr)->next = (ptr)->prev = (ptr)
-#define CDS_LIST_HEAD_INIT(name) { .
prev = &(name), .next
= &(name) }
+#define CDS_LIST_HEAD_INIT(name) { .
next = &(name), .prev
= &(name) }
/* Add new element at the head of the list. */
static inline
/* Add new element at the head of the list. */
static inline
This page took
0.025577 seconds
and
4
git commands to generate.