]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3efdc3d244c1618a74acdfb272aefcadf6e90076
tree468cda65465b0f02bb1b0bf332a5bc3e8cb16538
parentc41bad31959d7c4200d42533e5b18102970f6546
powerpc/numa: Enable USE_PERCPU_NUMA_NODE_ID

Based off d9bf32d2 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