diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-05 13:07:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-05 13:07:43 -0700 |
commit | e1d9694cae722d00a94fb58f901aa69c9c324a16 (patch) | |
tree | 19a7f36292adbc178ba4fac6f2f9e1acadb1b3f1 /include | |
parent | 39c12be86aaedd2f81bfb2236aca5333a2334dea (diff) | |
parent | b3a084b9b684622b149e8dcf03855bf0d5fb588b (diff) | |
download | blackbird-op-linux-e1d9694cae722d00a94fb58f901aa69c9c324a16.tar.gz blackbird-op-linux-e1d9694cae722d00a94fb58f901aa69c9c324a16.zip |
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
rcu: rcu_read_lock_bh_held(): disabling irqs also disables bh
generic-ipi: Fix deadlock in __smp_call_function_single
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/rcupdate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 9fbc54a2585d..83af1f8d8b74 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -454,7 +454,7 @@ static inline notrace void rcu_read_unlock_sched_notrace(void) * Makes rcu_dereference_check() do the dirty work. */ #define rcu_dereference_bh(p) \ - rcu_dereference_check(p, rcu_read_lock_bh_held()) + rcu_dereference_check(p, rcu_read_lock_bh_held() || irqs_disabled()) /** * rcu_dereference_sched - fetch RCU-protected pointer, checking for RCU-sched |