aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r--kernel/cpu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 1a823944e972..28cb6c71a47a 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -175,10 +175,6 @@ static int _cpu_down(unsigned int cpu)
175 /* This actually kills the CPU. */ 175 /* This actually kills the CPU. */
176 __cpu_die(cpu); 176 __cpu_die(cpu);
177 177
178 /* Move it here so it can run. */
179 kthread_bind(p, get_cpu());
180 put_cpu();
181
182 /* CPU is completely dead: tell everyone. Too late to complain. */ 178 /* CPU is completely dead: tell everyone. Too late to complain. */
183 if (raw_notifier_call_chain(&cpu_chain, CPU_DEAD, hcpu) == NOTIFY_BAD) 179 if (raw_notifier_call_chain(&cpu_chain, CPU_DEAD, hcpu) == NOTIFY_BAD)
184 BUG(); 180 BUG();