]> 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)
commit8b5fa20e29f205ec0a210db24f770c7562ce7033
tree468cda65465b0f02bb1b0bf332a5bc3e8cb16538
parent93ff752d4947f4d3e1a93e62eca000b19e48fd8e
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