powerpc/numa: Enable USE_PERCPU_NUMA_NODE_ID
authorNishanth Aravamudan <nacc@linux.vnet.ibm.com>
Mon, 19 May 2014 18:14:23 +0000 (11:14 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 May 2014 03:35:33 +0000 (13:35 +1000)
commit8c272261194dfda11cc046fbe808e052f6f284eb
tree468cda65465b0f02bb1b0bf332a5bc3e8cb16538
parent86969cf7330a53c93edfd1bf2c28ad053e289162
powerpc/numa: Enable USE_PERCPU_NUMA_NODE_ID

Based off 3bccd996 for ia64, convert powerpc to use the generic per-CPU
topology tracking, specifically:

    initialize per cpu numa_node entry in start_secondary
    remove the powerpc cpu_to_node()
    define CONFIG_USE_PERCPU_NUMA_NODE_ID if NUMA

Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/include/asm/topology.h
arch/powerpc/kernel/smp.c