arm64/numa: support HAVE_SETUP_PER_CPU_AREA
authorZhen Lei <thunder.leizhen@huawei.com>
Thu, 1 Sep 2016 06:55:00 +0000 (14:55 +0800)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Sep 2016 13:59:09 +0000 (14:59 +0100)
commit7af3a0a992524ffddc342cd1481cc4dcb3f1da71
tree0fe00c78d4f47e6b2c3ddd15cd25413fd51695ee
parentf11c7bacd5941fcfc5e9dd3bb0362e8a2eec4722
arm64/numa: support HAVE_SETUP_PER_CPU_AREA

To make each percpu area allocated from its local numa node. Without this
patch, all percpu areas will be allocated from the node which cpu0 belongs
to.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig
arch/arm64/mm/numa.c