diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 9629298eea240300a7cca3a5e299f88917e54eae..cb64d7e13d248d0e2fcb7afdeaa4fc1d30935bfa 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -978,9 +978,9 @@ bool notrace rcu_is_watching(void) { bool ret; - preempt_disable(); + preempt_disable_notrace(); ret = __rcu_is_watching(); - preempt_enable(); + preempt_enable_notrace(); return ret; } EXPORT_SYMBOL_GPL(rcu_is_watching);