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

Use a bool type for return in rcu_is_watching().

Signed-off-by: Pranith Kumar <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
This commit is contained in:
Pranith Kumar 2014-07-08 18:26:11 -04:00 • committed by Paul E. McKenney
commit f534ed1fd7

View file

@ -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();