Message ID | 20210816113123.36817ecd@oasis.local.home |
---|---|
State | New |
Headers | show |
Series | [ANNOUNCE] 5.10.56-rt49 | expand |
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index f56fd2e34cc7..53d90278494b 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -3545,7 +3545,9 @@ bool pr_flush(int timeout_ms, bool reset_on_progress) u64 diff; u64 seq; - may_sleep = (preemptible() && !in_softirq()); + may_sleep = (preemptible() && + !in_softirq() && + system_state >= SYSTEM_RUNNING); seq = prb_next_seq(prb); diff --git a/localversion-rt b/localversion-rt index 24707986c321..4b7dca68a5b4 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt48 +-rt49