~lttng/urcu/trunk

« back to all changes in this revision

Viewing changes to urcu-pointer.c

  • Committer: Mathieu Desnoyers
  • Date: 2012-05-24 15:51:03 UTC
  • Revision ID: git-v1:424d4ed5e7b0ca5e05c3078f15abf473c6879521
fix: uatomic_set return value compile fix for non-x86 arch.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
void *rcu_set_pointer_sym(void **p, void *v)
41
41
{
42
42
        cmm_wmb();
43
 
        return uatomic_set(p, v);
 
43
        uatomic_set(p, v);
 
44
        return v;
44
45
}
45
46
 
46
47
void *rcu_xchg_pointer_sym(void **p, void *v)