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 6c79e851521c..a23a57a976d1 100644 --- a/kernel/rcupdate.c +++ b/kernel/rcupdate.c | |||
@@ -88,7 +88,7 @@ int rcu_read_lock_bh_held(void) | |||
88 | { | 88 | { |
89 | if (!debug_lockdep_rcu_enabled()) | 89 | if (!debug_lockdep_rcu_enabled()) |
90 | return 1; | 90 | return 1; |
91 | return in_softirq(); | 91 | return in_softirq() || irqs_disabled(); |
92 | } | 92 | } |
93 | EXPORT_SYMBOL_GPL(rcu_read_lock_bh_held); | 93 | EXPORT_SYMBOL_GPL(rcu_read_lock_bh_held); |
94 | 94 | ||