Skip to contentSkip to conversation

printk: do not handle non-sleepable notification in console_cpu_notify

PATCH New mhban 1 participant 1 message Jun 8, 2011

lore
Share & tools
lore

mhban

author
#0 lore raw

PATCH 1/1 printk: do not handle non-sleepable notification in console_cpu_notify

- CPU_DYING should not be handled in sleepable context

---
 kernel/printk.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/printk.c +0 -1
index 3518539..79075a0 100644
@@ -1146,7 +1146,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();
Signature · 1 line
1.7.0.4