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)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:10:07 +0000 (09:10 -0700)
- CPU_DYING should not be handled in sleepable context

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

index d8b51657c010dbeb908a6ed710f95b26602ecd6c..4835df7fcd5d5884e30be743fa3fa66537391e77 100644 (file)
@@ -1201,7 +1201,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();