aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/smpboot.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 21ad3f396a0..4517d1c01eb 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1001,6 +1001,11 @@ do_rest:
1001 /* mark "stuck" area as not stuck */ 1001 /* mark "stuck" area as not stuck */
1002 *((volatile unsigned long *)trampoline_base) = 0; 1002 *((volatile unsigned long *)trampoline_base) = 0;
1003 1003
1004 /*
1005 * Cleanup possible dangling ends...
1006 */
1007 smpboot_restore_warm_reset_vector();
1008
1004 return boot_error; 1009 return boot_error;
1005} 1010}
1006 1011
@@ -1254,11 +1259,6 @@ void __init native_smp_prepare_boot_cpu(void)
1254 1259
1255void __init native_smp_cpus_done(unsigned int max_cpus) 1260void __init native_smp_cpus_done(unsigned int max_cpus)
1256{ 1261{
1257 /*
1258 * Cleanup possible dangling ends...
1259 */
1260 smpboot_restore_warm_reset_vector();
1261
1262 Dprintk("Boot done.\n"); 1262 Dprintk("Boot done.\n");
1263 1263
1264 impress_friends(); 1264 impress_friends();