rcu: Use rcu_callback_t in call_rcu*() and friends
authorBoqun Feng <boqun.feng@gmail.com>
Wed, 29 Jul 2015 05:29:38 +0000 (13:29 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Oct 2015 18:08:05 +0000 (11:08 -0700)
commitb6a4ae766e3133a4db73fabc81e522d1601cb623
tree24f5e9c33b0f89e7e2addd66e32d0e1ca3d16efa
parent84778472e1b6a27a8931712c40e8cf31143c8f6c
rcu: Use rcu_callback_t in call_rcu*() and friends

As we now have rcu_callback_t typedefs as the type of rcu callbacks, we
should use it in call_rcu*() and friends as the type of parameters. This
could save us a few lines of code and make it clear which function
requires an rcu callbacks rather than other callbacks as its argument.

Besides, this can also help cscope to generate a better database for
code reading.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
include/linux/rcupdate.h
include/linux/rcutiny.h
include/linux/rcutree.h
kernel/rcu/rcutorture.c
kernel/rcu/srcu.c
kernel/rcu/tiny.c
kernel/rcu/tree.c
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h
kernel/rcu/update.c
This page took 0.027051 seconds and 5 git commands to generate.