mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
[SPARC64]: Init boot cpu's trap_block[] before paging_init()
It must be ready when we take over the trap table. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3763be32d5
commit
52845cdb3b
1 changed files with 2 additions and 2 deletions
|
@ -379,10 +379,10 @@ void __init setup_arch(char **cmdline_p)
|
|||
|
||||
smp_setup_cpu_possible_map();
|
||||
|
||||
paging_init();
|
||||
|
||||
/* Get boot processor trap_block[] setup. */
|
||||
init_cur_cpu_trap(current_thread_info());
|
||||
|
||||
paging_init();
|
||||
}
|
||||
|
||||
static int __init set_preferred_console(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue