diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-10-15 21:49:59 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-10-15 21:49:59 +0200 |
commit | 252997330908cb8ee3d5714539ed967b977c2eae (patch) | |
tree | 627395514c622dc6eb51ae3a2a5bbebddc788299 /kernel/rcupdate.c | |
parent | Merge branch 'gp.2013.09.25a' into HEAD (diff) | |
parent | rcu: Consistent rcu_is_watching() naming (diff) | |
download | linux-252997330908cb8ee3d5714539ed967b977c2eae.tar.xz linux-252997330908cb8ee3d5714539ed967b977c2eae.zip |
Merge branch 'idle.2013.09.25a' into HEAD
idle.2013.09.25a: Topic branch for idle entry-/exit-related changes.
Diffstat (limited to 'kernel/rcupdate.c')
-rw-r--r-- | kernel/rcupdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c index 3260a1074b48..c07af1c4e1bb 100644 --- a/kernel/rcupdate.c +++ b/kernel/rcupdate.c @@ -148,7 +148,7 @@ int rcu_read_lock_bh_held(void) { if (!debug_lockdep_rcu_enabled()) return 1; - if (rcu_is_cpu_idle()) + if (!rcu_is_watching()) return 0; if (!rcu_lockdep_current_cpu_online()) return 0; |