Commit 52845cdb authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[SPARC64]: Init boot cpu's trap_block[] before paging_init()

It must be ready when we take over the trap table.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3763be32
...@@ -379,10 +379,10 @@ void __init setup_arch(char **cmdline_p) ...@@ -379,10 +379,10 @@ void __init setup_arch(char **cmdline_p)
smp_setup_cpu_possible_map(); smp_setup_cpu_possible_map();
paging_init();
/* Get boot processor trap_block[] setup. */ /* Get boot processor trap_block[] setup. */
init_cur_cpu_trap(current_thread_info()); init_cur_cpu_trap(current_thread_info());
paging_init();
} }
static int __init set_preferred_console(void) static int __init set_preferred_console(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment