diff options
author | Anton Blanchard <anton@samba.org> | 2014-09-17 22:15:36 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-11-10 09:59:26 +1100 |
commit | 21098b9e07476deb3f40acd7e51cffbffb4ef865 (patch) | |
tree | a61d80fa76e978dc86448c45de74bd1a3e7b5ad1 /arch/powerpc/mm/numa.c | |
parent | 68cf0d642f62267b960f947370539ff3582c4935 (diff) | |
download | linux-21098b9e07476deb3f40acd7e51cffbffb4ef865.tar.gz linux-21098b9e07476deb3f40acd7e51cffbffb4ef865.tar.bz2 linux-21098b9e07476deb3f40acd7e51cffbffb4ef865.zip |
powerpc: Move sparse_init() into initmem_init
We did part of sparse initialisation in setup_arch and part in
initmem_init. Put them together.
Signed-off-by: Anton Blanchard <anton@samba.org>
Tested-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/numa.c')
-rw-r--r-- | arch/powerpc/mm/numa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 2e9ad2d76b75..417b0a523a47 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -966,6 +966,8 @@ void __init initmem_init(void) sparse_memory_present_with_active_regions(nid); } + sparse_init(); + setup_node_to_cpumask_map(); reset_numa_cpu_lookup_table(); |