projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add urcu-api-list.sh script
[urcu.git]
/
urcu-pointer.c
diff --git
a/urcu-pointer.c
b/urcu-pointer.c
index 7dfb53a693099c80fc100e0063caea97dad98a77..61e35da5d718a05dc0f8fad69b0aeb370c7c1d66 100644
(file)
--- a/
urcu-pointer.c
+++ b/
urcu-pointer.c
@@
-24,7
+24,7
@@
* IBM's contributions to this file may be relicensed under LGPLv2 or later.
*/
* IBM's contributions to this file may be relicensed under LGPLv2 or later.
*/
-#include <urcu/uatomic
_arch
.h>
+#include <urcu/uatomic.h>
#include "urcu/static/urcu-pointer.h"
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#include "urcu/static/urcu-pointer.h"
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
@@
-40,7
+40,8
@@
void *rcu_dereference_sym(void *p)
void *rcu_set_pointer_sym(void **p, void *v)
{
cmm_wmb();
void *rcu_set_pointer_sym(void **p, void *v)
{
cmm_wmb();
- return uatomic_set(p, v);
+ uatomic_set(p, v);
+ return v;
}
void *rcu_xchg_pointer_sym(void **p, void *v)
}
void *rcu_xchg_pointer_sym(void **p, void *v)
This page took
0.023692 seconds
and
4
git commands to generate.