Skip to content

Commit

Permalink
[SPARC64]: Must run smp_setup_cpu_possible_map() after paging_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Jun 24, 2006
1 parent c2a5a46 commit 765b5f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sparc64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,12 @@ void __init setup_arch(char **cmdline_p)
}
#endif

smp_setup_cpu_possible_map();

/* Get boot processor trap_block[] setup. */
init_cur_cpu_trap(current_thread_info());

paging_init();

smp_setup_cpu_possible_map();
}

static int __init set_preferred_console(void)
Expand Down

0 comments on commit 765b5f3

Please sign in to comment.