Update return value of "set" operations
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 18 May 2012 03:14:26 +0000 (23:14 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 18 May 2012 03:14:26 +0000 (23:14 -0400)
commit3daae22a68a6e74c99d39a8c6b628f5c9121c54a
treea0cfb6b3ef2730b0ba39828b97ee703bff717111
parentc7eaf61c307ee909eb2dcebb956e73776f1a0441
Update return value of "set" operations

To follow the way the Linux kernel implements atomic_set(), we change
some API functions so they don't return any value anymore.

This is now the case for:

uatomic_set()
rcu_set_pointer()
rcu_assign_pointer()

This API change is very minor. In all instances of the Linux kernel
using rcu_assign_pointer(), none currently care about its return value.

However, we keep ABI compatibility: rcu_set_pointer_sym() still returns
the "v" value, even though it is not used by its wrapper macro anymore.

Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-pointer.h
urcu/static/urcu-pointer.h
urcu/uatomic/generic.h
This page took 0.02611 seconds and 4 git commands to generate.