X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Finclude%2Flinux%2Fpercpu-refcount.h;h=abd7c01c84dbc6fe6d49e001aea90dee78fd7df8;hb=52f993b8e89487ec9ee15a7fb4979e0f09a45b27;hp=12c9b485beb718241f0346a261462d82939e266b;hpb=c189ccac5702322ed843fe17057035b7222a59b6;p=kvmfornfv.git diff --git a/kernel/include/linux/percpu-refcount.h b/kernel/include/linux/percpu-refcount.h index 12c9b485b..abd7c01c8 100644 --- a/kernel/include/linux/percpu-refcount.h +++ b/kernel/include/linux/percpu-refcount.h @@ -206,7 +206,7 @@ static inline void percpu_ref_get(struct percpu_ref *ref) static inline bool percpu_ref_tryget(struct percpu_ref *ref) { unsigned long __percpu *percpu_count; - int ret; + bool ret; rcu_read_lock_sched(); @@ -240,7 +240,7 @@ static inline bool percpu_ref_tryget(struct percpu_ref *ref) static inline bool percpu_ref_tryget_live(struct percpu_ref *ref) { unsigned long __percpu *percpu_count; - int ret = false; + bool ret = false; rcu_read_lock_sched();