Messages in this thread Patch in this message | | | From | Pranith Kumar <> | Subject | [PATCH 2/9] rcu: use bool type for return value in rcu_is_watching() | Date | Tue, 8 Jul 2014 18:26:11 -0400 |
| |
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
| |