summaryrefslogtreecommitdiff
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-07-08 18:26:11 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-07-27 11:39:40 -0700
commitb5926f4ca750beae665eed4a01eeb845e2b47832 (patch)
tree7d1094a95cfc6d0c31beb5f7b4e46418a2fce3a1 /kernel/rcu
parent0b34c3ec4443cc3eed3766e6f68f619beebfedff (diff)
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 <bobby.prani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu')
-rw-r--r--kernel/rcu/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 4b526ca46801..253ea55dc508 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();