X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=kernel%2Fsoftirq.c;h=9e2f1c6e73d7b341958c74baa8af54169c88c119;hb=972d19e837833b93466c6f6a8ef2a7d653000aa3;hp=336f92d64e2ec04bb56d7146a4fc1e1eeb1141f5;hpb=35a5d9ed9fedb74c22cb19ff7d749289473144e0;p=powerpc.git diff --git a/kernel/softirq.c b/kernel/softirq.c index 336f92d64e..9e2f1c6e73 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -470,6 +470,8 @@ static int 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));