aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-02-27 02:32:33 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:13:30 -0500
commit52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc (patch)
tree350f49c4cecd87cc22aae8c88c1ff383822614d6 /arch
parent3763be32d591cacf808c36390a8af3f2784cde5f (diff)
[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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c
index 77066f1bbe2f..0c68a76143af 100644
--- a/arch/sparc64/kernel/setup.c
+++ b/arch/sparc64/kernel/setup.c
@@ -379,10 +379,10 @@ void __init setup_arch(char **cmdline_p)
379 379
380 smp_setup_cpu_possible_map(); 380 smp_setup_cpu_possible_map();
381 381
382 paging_init();
383
384 /* Get boot processor trap_block[] setup. */ 382 /* Get boot processor trap_block[] setup. */
385 init_cur_cpu_trap(current_thread_info()); 383 init_cur_cpu_trap(current_thread_info());
384
385 paging_init();
386} 386}
387 387
388static int __init set_preferred_console(void) 388static int __init set_preferred_console(void)