Commit f534ed1f authored by Pranith Kumar's avatar Pranith Kumar Committed by Paul E. McKenney

rcu: Use bool type for return value in rcu_is_watching()

Use a bool type for return in rcu_is_watching().
Signed-off-by: default avatarPranith Kumar <bobby.prani@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent bf33eb1a
......@@ -819,7 +819,7 @@ bool notrace __rcu_is_watching(void)
*/
bool notrace rcu_is_watching(void)
{
int ret;
bool ret;
preempt_disable();
ret = __rcu_is_watching();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment