[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 <krzysztof.h1@wp.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
94918ff68a
commit
a23b423ec0
@@ -348,9 +348,9 @@ void __init setup_arch(char **cmdline_p)
|
|||||||
init_mm.context = (unsigned long) NO_CONTEXT;
|
init_mm.context = (unsigned long) NO_CONTEXT;
|
||||||
init_task.thread.kregs = &fake_swapper_regs;
|
init_task.thread.kregs = &fake_swapper_regs;
|
||||||
|
|
||||||
smp_setup_cpu_possible_map();
|
|
||||||
|
|
||||||
paging_init();
|
paging_init();
|
||||||
|
|
||||||
|
smp_setup_cpu_possible_map();
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init set_preferred_console(void)
|
static int __init set_preferred_console(void)
|
||||||
|
Reference in New Issue
Block a user