From: Mathieu Desnoyers Date: Fri, 18 May 2012 03:14:26 +0000 (-0400) Subject: Update return value of "set" operations X-Git-Tag: v0.7.0~3 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=3daae22a68a6e74c99d39a8c6b628f5c9121c54a;hp=3daae22a68a6e74c99d39a8c6b628f5c9121c54a;p=urcu.git 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 Signed-off-by: Mathieu Desnoyers ---