]> git.hungrycats.org Git - linux/commit
[PATCH] Hotplug CPUs: cpu_down()
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 19 Mar 2004 00:02:28 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 19 Mar 2004 00:02:28 +0000 (16:02 -0800)
commit036f21379d26fb60b6c490803abf6c7c735c4f6a
tree089b1500a73e8edb5a64087ff7983833e9503765
parentc884a1a3d78bc9a0bf56b11e6d84d7447d93bf00
[PATCH] Hotplug CPUs: cpu_down()

Implement cpu_down(): uses stop_machine to freeze the machine, then
uses (arch-specific) __cpu_disable() and migrate_all_tasks().

Whole thing under CONFIG_HOTPLUG_CPU, so doesn't break archs which
don't define that.
include/linux/cpu.h
kernel/cpu.c