diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-07-08 18:26:11 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-07 19:18:09 -0400 |
commit | f534ed1fd71cea885a59255d9b44c3b17df03eb1 (patch) | |
tree | 08e787a364fc566f91b07d7779520b92e9ffefe9 /kernel/rcu/tree.c | |
parent | bf33eb1aef23e8049cd222471d35b0988c420b18 (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/tree.c')
-rw-r--r-- | kernel/rcu/tree.c | 2 |
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) | |||
819 | */ | 819 | */ |
820 | bool notrace rcu_is_watching(void) | 820 | bool notrace rcu_is_watching(void) |
821 | { | 821 | { |
822 | int ret; | 822 | bool ret; |
823 | 823 | ||
824 | preempt_disable(); | 824 | preempt_disable(); |
825 | ret = __rcu_is_watching(); | 825 | ret = __rcu_is_watching(); |