MIPS: Add arch generic CPU hotplug
commit1b2bc75c1bde6581d2694cb3ed7fb06b69685008
authorRalf Baechle <ralf@linux-mips.org>
Tue, 23 Jun 2009 09:00:31 +0000 (23 10:00 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 24 Jun 2009 17:34:40 +0000 (24 18:34 +0100)
tree800fc23052bccb1fbf8acfbaabbf5648c69daa9e
parent4ac4aa5cc3b00cc558575065ae71043e92d1a69a
MIPS: Add arch generic CPU hotplug

Each platform has to add support for CPU hotplugging itself by providing
suitable definitions for the cpu_disable and cpu_die of the smp_ops
methods and setting SYS_SUPPORTS_HOTPLUG_CPU.  A platform should only set
SYS_SUPPORTS_HOTPLUG_CPU once all it's smp_ops definitions have the
necessary changes.  This patch contains the changes to the dummy smp_ops
definition for uni-processor systems.

Parts of the code contributed by Cavium Inc.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/include/asm/smp-ops.h
arch/mips/include/asm/smp.h
arch/mips/kernel/process.c
arch/mips/kernel/smp-up.c
arch/mips/kernel/smp.c
arch/mips/kernel/topology.c