]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/cpu.c
stop_machine: Use smpboot threads
[karo-tx-linux.git] / kernel / cpu.c
index 3046a503242c8eb67f031d445713a9e55c986e73..c91e30d1ef058134c39932daf37d4cda7658e748 100644 (file)
@@ -254,6 +254,8 @@ static int __ref take_cpu_down(void *_param)
                return err;
 
        cpu_notify(CPU_DYING | param->mod, param->hcpu);
+       /* Park the stopper thread */
+       kthread_park(current);
        return 0;
 }