diff options
Diffstat (limited to 'kernel/softlockup.c')
-rw-r--r-- | kernel/softlockup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/softlockup.c b/kernel/softlockup.c index 75976209cea7..a2dcceb9437d 100644 --- a/kernel/softlockup.c +++ b/kernel/softlockup.c | |||
@@ -123,7 +123,8 @@ cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) | |||
123 | #ifdef CONFIG_HOTPLUG_CPU | 123 | #ifdef CONFIG_HOTPLUG_CPU |
124 | case CPU_UP_CANCELED: | 124 | case CPU_UP_CANCELED: |
125 | /* Unbind so it can run. Fall thru. */ | 125 | /* Unbind so it can run. Fall thru. */ |
126 | kthread_bind(per_cpu(watchdog_task, hotcpu), smp_processor_id()); | 126 | kthread_bind(per_cpu(watchdog_task, hotcpu), |
127 | any_online_cpu(cpu_online_map)); | ||
127 | case CPU_DEAD: | 128 | case CPU_DEAD: |
128 | p = per_cpu(watchdog_task, hotcpu); | 129 | p = per_cpu(watchdog_task, hotcpu); |
129 | per_cpu(watchdog_task, hotcpu) = NULL; | 130 | per_cpu(watchdog_task, hotcpu) = NULL; |