diff options
Diffstat (limited to 'arch/powerpc/kernel/head_64.S')
-rw-r--r-- | arch/powerpc/kernel/head_64.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index 2d14774af6b4..f765b0434731 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S | |||
@@ -401,7 +401,7 @@ generic_secondary_common_init: | |||
401 | ld r12,CPU_SPEC_RESTORE(r23) | 401 | ld r12,CPU_SPEC_RESTORE(r23) |
402 | cmpdi 0,r12,0 | 402 | cmpdi 0,r12,0 |
403 | beq 3f | 403 | beq 3f |
404 | #if !defined(_CALL_ELF) || _CALL_ELF != 2 | 404 | #ifdef PPC64_ELF_ABI_v1 |
405 | ld r12,0(r12) | 405 | ld r12,0(r12) |
406 | #endif | 406 | #endif |
407 | mtctr r12 | 407 | mtctr r12 |
@@ -941,7 +941,7 @@ start_here_multiplatform: | |||
941 | mtspr SPRN_SRR1,r4 | 941 | mtspr SPRN_SRR1,r4 |
942 | RFI | 942 | RFI |
943 | b . /* prevent speculative execution */ | 943 | b . /* prevent speculative execution */ |
944 | 944 | ||
945 | /* This is where all platforms converge execution */ | 945 | /* This is where all platforms converge execution */ |
946 | 946 | ||
947 | start_here_common: | 947 | start_here_common: |
@@ -951,9 +951,6 @@ start_here_common: | |||
951 | /* Load the TOC (virtual address) */ | 951 | /* Load the TOC (virtual address) */ |
952 | ld r2,PACATOC(r13) | 952 | ld r2,PACATOC(r13) |
953 | 953 | ||
954 | /* Do more system initializations in virtual mode */ | ||
955 | bl setup_system | ||
956 | |||
957 | /* Mark interrupts soft and hard disabled (they might be enabled | 954 | /* Mark interrupts soft and hard disabled (they might be enabled |
958 | * in the PACA when doing hotplug) | 955 | * in the PACA when doing hotplug) |
959 | */ | 956 | */ |