[PATCH] printk: do not handle non-sleepable notification inconsole_cpu_notify

From: mhban
Date: Wed Jun 08 2011 - 05:13:23 EST


- CPU_DYING should not be handled in sleepable context

Signed-off-by: Minho Ban <mhban@xxxxxxxxxxx>
---
kernel/printk.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/kernel/printk.c b/kernel/printk.c
index 3518539..79075a0 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -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();
--
1.7.0.4


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/