aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r--kernel/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 3046a503242c..c91e30d1ef05 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -254,6 +254,8 @@ static int __ref take_cpu_down(void *_param)
254 return err; 254 return err;
255 255
256 cpu_notify(CPU_DYING | param->mod, param->hcpu); 256 cpu_notify(CPU_DYING | param->mod, param->hcpu);
257 /* Park the stopper thread */
258 kthread_park(current);
257 return 0; 259 return 0;
258} 260}
259 261