From: mhban Date: Wed, 8 Jun 2011 09:13:15 +0000 (+0000) Subject: printk: do not handle non-sleepable notification in console_cpu_notify X-Git-Tag: firefly_0821_release~7613^2~616 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36cf5520be8537fa554761194f2fd8cfa2527440;p=firefly-linux-kernel-4.4.55.git printk: do not handle non-sleepable notification in console_cpu_notify - CPU_DYING should not be handled in sleepable context Signed-off-by: Minho Ban --- diff --git a/kernel/printk.c b/kernel/printk.c index d8b51657c010..4835df7fcd5d 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -1201,7 +1201,6 @@ static int __cpuinit console_cpu_notify(struct notifier_block *self, switch (action) { case CPU_ONLINE: case CPU_DEAD: - case CPU_DYING: case CPU_DOWN_FAILED: case CPU_UP_CANCELED: console_lock();