[patch 1/1] gfs2: get_sb_dev() fix
[pandora-kernel.git] / kernel / softirq.c
index ec8fed4..8f03e3b 100644 (file)
@@ -470,6 +470,8 @@ static int __devinit cpu_callback(struct notifier_block *nfb,
                break;
 #ifdef CONFIG_HOTPLUG_CPU
        case CPU_UP_CANCELED:
+               if (!per_cpu(ksoftirqd, hotcpu))
+                       break;
                /* Unbind so it can run.  Fall thru. */
                kthread_bind(per_cpu(ksoftirqd, hotcpu),
                             any_online_cpu(cpu_online_map));