Skip to content

Commit

Permalink
[SPARC]: enabling of the 2nd CPU in 2.6.18-rc4
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Helt authored and David S. Miller committed Aug 27, 2006
1 parent 94918ff commit a23b423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sparc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a23b423

Please sign in to comment.