Skip to content

Commit

Permalink
[SPARC64]: Init boot cpu's trap_block[] before paging_init()
Browse files Browse the repository at this point in the history
It must be ready when we take over the trap table.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller authored and David S. Miller committed Mar 20, 2006
1 parent 3763be3 commit 52845cd
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 @@ -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)
Expand Down

0 comments on commit 52845cd

Please sign in to comment.