docs/rcu: Update the call_rcu() API
authorHui Su <sh_def@163.com>
Thu, 15 Oct 2020 14:13:34 +0000 (22:13 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Sat, 7 Nov 2020 01:02:43 +0000 (17:02 -0800)
commitc386e29d43728778ddd642fa73cc582bee684171
tree584ddb213fd2a7883b5bff7d3e743d0b5a50319c
parenta1b9dbb72b7f39eeaa2fb5bd5cc619679985876e
docs/rcu: Update the call_rcu() API

This commit updates the documented API of call_rcu() to use the
rcu_callback_t typedef instead of the open-coded function definition.

Signed-off-by: Hui Su <sh_def@163.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Documentation/RCU/whatisRCU.rst