]> git.karo-electronics.de Git - linux-beck.git/blobdiff - kernel/notifier.c
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-beck.git] / kernel / notifier.c
index 980e4330fb596d8acc54eee45afcd372e8e9e82e..fd2c9acbcc19856f4b53e28d1acd9f5d1cdae165 100644 (file)
@@ -544,7 +544,7 @@ int notrace notify_die(enum die_val val, const char *str,
                .signr  = sig,
 
        };
-       rcu_lockdep_assert(rcu_is_watching(),
+       RCU_LOCKDEP_WARN(!rcu_is_watching(),
                           "notify_die called but RCU thinks we're quiescent");
        return atomic_notifier_call_chain(&die_chain, val, &args);
 }