printk: Fix scheduling-while-atomic problem in console_cpu_notify()
Changes
1 files changed · +0 −1
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| kernel/printk.c | modified | +0 | −1 | View file |
kernel/printk.c
View filediff --git a/kernel/printk.c b/kernel/printk.c
index 66a2ea3..2d607f4 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1890,7 +1890,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();