[PATCH] powerpc numa: Minor cpu hotplug-related cleanups
authorNathan Lynch <nathanl@austin.ibm.com>
Tue, 21 Mar 2006 00:35:15 +0000 (18:35 -0600)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Mar 2006 04:03:48 +0000 (15:03 +1100)
commit2e5ce39d6703836b583c43131c365201a76285a5
treef45152d260b8ad49dc4dcb2ada905eaa24ffdc26
parentbf4b85b0e4bab42b3e8d8b0acc6851bb85e2050b
[PATCH] powerpc numa: Minor cpu hotplug-related cleanups

map_cpu_to_node does not need to be inline, it is never called in a
hot path.

map_cpu_to_node, numa_setup_cpu, and find_cpu_node can be marked
__cpuinit, as they are never used after boot if CONFIG_HOTPLUG_CPU=n.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/numa.c