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>
Showing
- include/linux/rcupdate.h 5 additions, 5 deletionsinclude/linux/rcupdate.h
- include/linux/rcutiny.h 1 addition, 1 deletioninclude/linux/rcutiny.h
- include/linux/rcutree.h 1 addition, 1 deletioninclude/linux/rcutree.h
- kernel/rcu/rcutorture.c 2 additions, 2 deletionskernel/rcu/rcutorture.c
- kernel/rcu/srcu.c 1 addition, 1 deletionkernel/rcu/srcu.c
- kernel/rcu/tiny.c 4 additions, 4 deletionskernel/rcu/tiny.c
- kernel/rcu/tree.c 4 additions, 4 deletionskernel/rcu/tree.c
- kernel/rcu/tree.h 1 addition, 1 deletionkernel/rcu/tree.h
- kernel/rcu/tree_plugin.h 1 addition, 1 deletionkernel/rcu/tree_plugin.h
- kernel/rcu/update.c 1 addition, 1 deletionkernel/rcu/update.c
Loading
Please register or sign in to comment