summaryrefslogtreecommitdiff
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-02-27 07:32:33 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 09:13:30 (GMT)
commit52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc (patch)
tree350f49c4cecd87cc22aae8c88c1ff383822614d6 /arch/sparc64
parent3763be32d591cacf808c36390a8af3f2784cde5f (diff)
downloadlinux-52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc.tar.xz
[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/sparc64')
-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 77066f1..0c68a76 100644
--- a/arch/sparc64/kernel/setup.c
+++ b/arch/sparc64/kernel/setup.c
@@ -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)