OSDN Git Service

printk: do not handle non-sleepable notification in console_cpu_notify
authormhban <mhban@samsung.com>
Wed, 8 Jun 2011 09:13:15 +0000 (09:13 +0000)
committerPaul Eastham <eastham@google.com>
Fri, 10 Jun 2011 16:16:34 +0000 (09:16 -0700)
- CPU_DYING should not be handled in sleepable context

Signed-off-by: Minho Ban <mhban@samsung.com>
kernel/printk.c

index 8726382..acf20f5 100644 (file)
@@ -1172,7 +1172,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();