powerpc/mm/numa: move numa topology discovery earlier
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Feb 2018 15:08:16 +0000 (01:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 12:34:26 +0000 (23:34 +1100)
commit9bd9be006c8ec0ccf7cb0422d35033af39d3f969
treeeb1c4052ff952eef7e9339d8bf1d8af3a2878db7
parentb575454fa330aab2d65cf17812ca8e1f405ae80d
powerpc/mm/numa: move numa topology discovery earlier

Split sparsemem initialisation from basic numa topology discovery.
Move the parsing earlier in boot, before pacas are allocated.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/setup.h
arch/powerpc/kernel/setup-common.c
arch/powerpc/mm/mem.c
arch/powerpc/mm/numa.c