diff options
author | 2012-05-16 15:51:08 -0700 | |
---|---|---|
committer | 2012-07-02 12:34:23 -0700 | |
commit | e9023c4061054cbf59c5288068118a4d0b152f01 (patch) | |
tree | 0bd37bdc925686170b4329eca61962f1df4d3687 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | key: Remove extraneous parentheses from rcu_assign_keypointer() (diff) | |
download | linux-dev-e9023c4061054cbf59c5288068118a4d0b152f01.tar.xz linux-dev-e9023c4061054cbf59c5288068118a4d0b152f01.zip |
rcu: Remove return value from rcu_assign_pointer()
The return value from rcu_assign_pointer() is not used, and using it
would be quite ugly, for example:
q = rcu_assign_pointer(global_p, p);
To prevent this sort of ugliness from spreading, this commit wraps
rcu_assign_pointer() in a do-while loop.
Reported-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions