projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stop_machine: Use smpboot threads
[linux-block.git]
/
kernel
/
cpu.c
diff --git
a/kernel/cpu.c
b/kernel/cpu.c
index 3046a503242c8eb67f031d445713a9e55c986e73..c91e30d1ef058134c39932daf37d4cda7658e748 100644
(file)
--- a/
kernel/cpu.c
+++ b/
kernel/cpu.c
@@
-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;
}