The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: mhban <mhban@samsung.com>
To: cernekee@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] printk: do not handle non-sleepable notification in console_cpu_notify
Date: Wed, 08 Jun 2011 18:13:15 +0900	[thread overview]
Message-ID: <1307524395.6891.3.camel@puffmine-laptop> (raw)

- 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



                 reply	other threads:[~2011-06-08  9:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1307524395.6891.3.camel@puffmine-laptop \
    --to=mhban@samsung.com \
    --cc=cernekee@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox