[PATCH 1/2] rcu: Use rcu_callback_t in call_rcu*() and friends

2015-07-28 Thread Boqun Feng
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

[PATCH 1/2] rcu: Use rcu_callback_t in call_rcu*() and friends

2015-07-28 Thread Boqun Feng
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