X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fsoftirq.c;h=ad3295cdded55032f248bf53dc6b908c56702581;hb=0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c;hp=f766b2fc48be8cd54cc254c91660ec414603a2c5;hpb=905ec87e93bc9e01b15c60035cd6a50c636cbaef;p=linux-2.6 diff --git a/kernel/softirq.c b/kernel/softirq.c index f766b2fc48..ad3295cdde 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -470,7 +470,8 @@ static int __devinit cpu_callback(struct notifier_block *nfb, #ifdef CONFIG_HOTPLUG_CPU case CPU_UP_CANCELED: /* Unbind so it can run. Fall thru. */ - kthread_bind(per_cpu(ksoftirqd, hotcpu), smp_processor_id()); + kthread_bind(per_cpu(ksoftirqd, hotcpu), + any_online_cpu(cpu_online_map)); case CPU_DEAD: p = per_cpu(ksoftirqd, hotcpu); per_cpu(ksoftirqd, hotcpu) = NULL;