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>
This commit is contained in:

committed by
Michael Ellerman

parent
b575454fa3
commit
9bd9be006c
@@ -888,6 +888,9 @@ void __init setup_arch(char **cmdline_p)
|
||||
/* Check the SMT related command line arguments (ppc64). */
|
||||
check_smt_enabled();
|
||||
|
||||
/* Parse memory topology */
|
||||
mem_topology_setup();
|
||||
|
||||
/* On BookE, setup per-core TLB data structures. */
|
||||
setup_tlb_core_data();
|
||||
|
||||
|
Reference in New Issue
Block a user