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.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index ee082d771178..d0225572faa1 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -201,7 +201,11 @@ static void cpu_ready_for_interrupts(void)
201 /* Set IR and DR in PACA MSR */ 201 /* Set IR and DR in PACA MSR */
202 get_paca()->kernel_msr = MSR_KERNEL; 202 get_paca()->kernel_msr = MSR_KERNEL;
203 203
204 /* Enable AIL if supported */ 204 /*
205 * Enable AIL if supported, and we are in hypervisor mode. If we are
206 * not in hypervisor mode, we enable relocation-on interrupts later
207 * in pSeries_setup_arch() using the H_SET_MODE hcall.
208 */
205 if (cpu_has_feature(CPU_FTR_HVMODE) && 209 if (cpu_has_feature(CPU_FTR_HVMODE) &&
206 cpu_has_feature(CPU_FTR_ARCH_207S)) { 210 cpu_has_feature(CPU_FTR_ARCH_207S)) {
207 unsigned long lpcr = mfspr(SPRN_LPCR); 211 unsigned long lpcr = mfspr(SPRN_LPCR);
@@ -507,7 +511,11 @@ void __init setup_system(void)
507 check_smt_enabled(); 511 check_smt_enabled();
508 setup_tlb_core_data(); 512 setup_tlb_core_data();
509 513
510#ifdef CONFIG_SMP 514 /*
515 * Freescale Book3e parts spin in a loop provided by firmware,
516 * so smp_release_cpus() does nothing for them
517 */
518#if defined(CONFIG_SMP) && !defined(CONFIG_PPC_FSL_BOOK3E)
511 /* Release secondary cpus out of their spinloops at 0x60 now that 519 /* Release secondary cpus out of their spinloops at 0x60 now that
512 * we can map physical -> logical CPU ids 520 * we can map physical -> logical CPU ids
513 */ 521 */
@@ -673,9 +681,6 @@ void __init setup_arch(char **cmdline_p)
673 exc_lvl_early_init(); 681 exc_lvl_early_init();
674 emergency_stack_init(); 682 emergency_stack_init();
675 683
676#ifdef CONFIG_PPC_STD_MMU_64
677 stabs_alloc();
678#endif
679 /* set up the bootmem stuff with available memory */ 684 /* set up the bootmem stuff with available memory */
680 do_init_bootmem(); 685 do_init_bootmem();
681 sparse_init(); 686 sparse_init();