From: David S. Miller Date: Mon, 27 Feb 2006 07:32:33 +0000 (-0800) Subject: [SPARC64]: Init boot cpu's trap_block[] before paging_init() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 --- 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) 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)