Commit 765b5f32730cfd2608291e679060b0391570c8b3
1 parent
c2a5a46be4
Exists in
master
and in
7 other branches
[SPARC64]: Must run smp_setup_cpu_possible_map() after paging_init()
Otherwise the in-kernel PROM device tree isn't built yet, and therefore the present cpu bits don't get set properly. Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
arch/sparc64/kernel/setup.c
... | ... | @@ -376,12 +376,12 @@ |
376 | 376 | } |
377 | 377 | #endif |
378 | 378 | |
379 | - smp_setup_cpu_possible_map(); | |
380 | - | |
381 | 379 | /* Get boot processor trap_block[] setup. */ |
382 | 380 | init_cur_cpu_trap(current_thread_info()); |
383 | 381 | |
384 | 382 | paging_init(); |
383 | + | |
384 | + smp_setup_cpu_possible_map(); | |
385 | 385 | } |
386 | 386 | |
387 | 387 | static int __init set_preferred_console(void) |