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 4d169835fb36..0af1dc70fece 100644 --- a/kernel/rcupdate.c +++ b/kernel/rcupdate.c | |||
@@ -86,7 +86,7 @@ int rcu_read_lock_bh_held(void) | |||
86 | { | 86 | { |
87 | if (!debug_lockdep_rcu_enabled()) | 87 | if (!debug_lockdep_rcu_enabled()) |
88 | return 1; | 88 | return 1; |
89 | return in_softirq(); | 89 | return in_softirq() || irqs_disabled(); |
90 | } | 90 | } |
91 | EXPORT_SYMBOL_GPL(rcu_read_lock_bh_held); | 91 | EXPORT_SYMBOL_GPL(rcu_read_lock_bh_held); |
92 | 92 | ||