summaryrefslogtreecommitdiffstats
path: root/freed-ora/current/f14/linux-2.6-rcu-netpoll.patch
blob: 540b393419b553cce57ed2fa9e9ef101741ae45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 9fbc54a..435c502 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

  
OpenPOWER on IntegriCloud