]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - kernel/rcu/update.c
Merge branch '4.0.8-rt6'
[zynq/linux.git] / kernel / rcu / update.c
index e0d31a345ee6574fa5d7c949a8165f8374a9909f..5f5defaf3939d086fe68235dcfff8cbd36ac9f48 100644 (file)
@@ -170,6 +170,7 @@ int rcu_read_lock_held(void)
 }
 EXPORT_SYMBOL_GPL(rcu_read_lock_held);
 
+#ifndef CONFIG_PREEMPT_RT_FULL
 /**
  * rcu_read_lock_bh_held() - might we be in RCU-bh read-side critical section?
  *
@@ -196,6 +197,7 @@ int rcu_read_lock_bh_held(void)
        return in_softirq() || irqs_disabled();
 }
 EXPORT_SYMBOL_GPL(rcu_read_lock_bh_held);
+#endif
 
 #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */