[PATCH 2/9] rcu: use bool type for return value in rcu_is_watching()

Pranith Kumar
2014-07-08T22:28:50Z

use a bool type for return in rcu_is_watching()

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
---
kernel/rcu/tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index dac6d20..dff3d5b 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -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();
--
1.9.1