The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] printk: do not handle non-sleepable notification in console_cpu_notify
@ 2011-06-08  9:13 mhban
  0 siblings, 0 replies; only message in thread
From: mhban @ 2011-06-08  9:13 UTC (permalink / raw)
  To: cernekee; +Cc: linux-kernel

- CPU_DYING should not be handled in sleepable context

Signed-off-by: Minho Ban <mhban@samsung.com>
---
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-08  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08  9:13 [PATCH] printk: do not handle non-sleepable notification in console_cpu_notify mhban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox