diff options
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) | |||
148 | { | 148 | { |
149 | if (!debug_lockdep_rcu_enabled()) | 149 | if (!debug_lockdep_rcu_enabled()) |
150 | return 1; | 150 | return 1; |
151 | if (rcu_is_cpu_idle()) | 151 | if (!rcu_is_watching()) |
152 | return 0; | 152 | return 0; |
153 | if (!rcu_lockdep_current_cpu_online()) | 153 | if (!rcu_lockdep_current_cpu_online()) |
154 | return 0; | 154 | return 0; |