From: Krzysztof Helt Date: Fri, 25 Aug 2006 07:46:02 +0000 (-0700) Subject: [SPARC]: enabling of the 2nd CPU in 2.6.18-rc4 X-Git-Tag: v2.6.18-rc5~46 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a23b423ec0573ead85e2c92f2a5df5d4bf47e26b;p=linux-2.6-omap-h63xx.git [SPARC]: enabling of the 2nd CPU in 2.6.18-rc4 smp_setup_cpu_possible_map() needs to run after paging_init() so that the in-kernel device tree is setup. Signed-off-by: Krzysztof Helt Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c index 35488d6c745..0251cab4708 100644 --- a/arch/sparc/kernel/setup.c +++ b/arch/sparc/kernel/setup.c @@ -348,9 +348,9 @@ void __init setup_arch(char **cmdline_p) init_mm.context = (unsigned long) NO_CONTEXT; init_task.thread.kregs = &fake_swapper_regs; - smp_setup_cpu_possible_map(); - paging_init(); + + smp_setup_cpu_possible_map(); } static int __init set_preferred_console(void)