aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index e29b275e09e0..f96c49b03ba0 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -311,8 +311,6 @@ void smp_release_cpus(void)
311 311
312 DBG(" <- smp_release_cpus()\n"); 312 DBG(" <- smp_release_cpus()\n");
313} 313}
314#else
315#define smp_release_cpus()
316#endif /* CONFIG_SMP || CONFIG_KEXEC */ 314#endif /* CONFIG_SMP || CONFIG_KEXEC */
317 315
318/* 316/*
@@ -398,6 +396,9 @@ void __init setup_system(void)
398{ 396{
399 DBG(" -> setup_system()\n"); 397 DBG(" -> setup_system()\n");
400 398
399#ifdef CONFIG_KEXEC
400 kdump_move_device_tree();
401#endif
401 /* 402 /*
402 * Unflatten the device-tree passed by prom_init or kexec 403 * Unflatten the device-tree passed by prom_init or kexec
403 */ 404 */
@@ -470,10 +471,12 @@ void __init setup_system(void)
470 check_smt_enabled(); 471 check_smt_enabled();
471 smp_setup_cpu_maps(); 472 smp_setup_cpu_maps();
472 473
474#ifdef CONFIG_SMP
473 /* Release secondary cpus out of their spinloops at 0x60 now that 475 /* Release secondary cpus out of their spinloops at 0x60 now that
474 * we can map physical -> logical CPU ids 476 * we can map physical -> logical CPU ids
475 */ 477 */
476 smp_release_cpus(); 478 smp_release_cpus();
479#endif
477 480
478 printk("Starting Linux PPC64 %s\n", system_utsname.version); 481 printk("Starting Linux PPC64 %s\n", system_utsname.version);
479 482