diff options
Diffstat (limited to 'arch/ppc64/kernel/head.S')
-rw-r--r-- | arch/ppc64/kernel/head.S | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/head.S b/arch/ppc64/kernel/head.S index 22a5ee07e1ea..eb526c480b6c 100644 --- a/arch/ppc64/kernel/head.S +++ b/arch/ppc64/kernel/head.S | |||
@@ -1364,6 +1364,7 @@ _STATIC(__start_initialization_iSeries) | |||
1364 | addi r2,r2,0x4000 | 1364 | addi r2,r2,0x4000 |
1365 | 1365 | ||
1366 | bl .iSeries_early_setup | 1366 | bl .iSeries_early_setup |
1367 | bl .early_setup | ||
1367 | 1368 | ||
1368 | /* relocation is on at this point */ | 1369 | /* relocation is on at this point */ |
1369 | 1370 | ||
@@ -1970,20 +1971,22 @@ _GLOBAL(hmt_start_secondary) | |||
1970 | blr | 1971 | blr |
1971 | #endif | 1972 | #endif |
1972 | 1973 | ||
1973 | #if defined(CONFIG_KEXEC) || (defined(CONFIG_SMP) && !defined(CONFIG_PPC_ISERIES)) | 1974 | #if defined(CONFIG_KEXEC) || defined(CONFIG_SMP) |
1974 | _GLOBAL(smp_release_cpus) | 1975 | _GLOBAL(smp_release_cpus) |
1975 | /* All secondary cpus are spinning on a common | 1976 | /* All secondary cpus are spinning on a common |
1976 | * spinloop, release them all now so they can start | 1977 | * spinloop, release them all now so they can start |
1977 | * to spin on their individual paca spinloops. | 1978 | * to spin on their individual paca spinloops. |
1978 | * For non SMP kernels, the secondary cpus never | 1979 | * For non SMP kernels, the secondary cpus never |
1979 | * get out of the common spinloop. | 1980 | * get out of the common spinloop. |
1981 | * XXX This does nothing useful on iSeries, secondaries are | ||
1982 | * already waiting on their paca. | ||
1980 | */ | 1983 | */ |
1981 | li r3,1 | 1984 | li r3,1 |
1982 | LOADADDR(r5,__secondary_hold_spinloop) | 1985 | LOADADDR(r5,__secondary_hold_spinloop) |
1983 | std r3,0(r5) | 1986 | std r3,0(r5) |
1984 | sync | 1987 | sync |
1985 | blr | 1988 | blr |
1986 | #endif /* CONFIG_SMP && !CONFIG_PPC_ISERIES */ | 1989 | #endif /* CONFIG_SMP */ |
1987 | 1990 | ||
1988 | 1991 | ||
1989 | /* | 1992 | /* |