]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/numa: remove the limitation that cpu0 must bind to node0
authorZhen Lei <thunder.leizhen@huawei.com>
Thu, 1 Sep 2016 06:55:04 +0000 (14:55 +0800)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Sep 2016 13:59:09 +0000 (14:59 +0100)
commit441487e0d9f8b0fb257e6af75639f1fd542d4858
tree2b237c38880de2d62b37f21a3e2243476a0c4423
parentaaef1a38a9d743e8743431df6ae611c204505ce4
arm64/numa: remove the limitation that cpu0 must bind to node0

1. Remove the old binding code.
2. Read the nid of cpu0 from dts.
3. Fallback the nid of cpu0 to 0 when numa=off is set in bootargs.

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