aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/head.S
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-09-23 00:54:37 -0400
committerStephen Rothwell <sfr@canb.auug.org.au>2005-09-23 00:54:37 -0400
commitf6ab9c68406dfcd1fcd0a5352244fcb932b113b1 (patch)
tree8a411992ed256859bfdca3a15b2335d0cbd065ee /arch/ppc64/kernel/head.S
parent7c6f947f2477f7c0017be1af458eb5e0b96b7f40 (diff)
ppc64 iSeries: Make smp_release_cpus() callable on iSeries
We don't need to call smp_release_cpus() on iSeries but it's harmless if we do and it removes another #ifdef ISERIES. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/ppc64/kernel/head.S')
-rw-r--r--arch/ppc64/kernel/head.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/head.S b/arch/ppc64/kernel/head.S
index 22a5ee07e1ea..b1d0edff0c04 100644
--- a/arch/ppc64/kernel/head.S
+++ b/arch/ppc64/kernel/head.S
@@ -1970,20 +1970,22 @@ _GLOBAL(hmt_start_secondary)
1970 blr 1970 blr
1971#endif 1971#endif
1972 1972
1973#if defined(CONFIG_KEXEC) || (defined(CONFIG_SMP) && !defined(CONFIG_PPC_ISERIES)) 1973#if defined(CONFIG_KEXEC) || defined(CONFIG_SMP)
1974_GLOBAL(smp_release_cpus) 1974_GLOBAL(smp_release_cpus)
1975 /* All secondary cpus are spinning on a common 1975 /* All secondary cpus are spinning on a common
1976 * spinloop, release them all now so they can start 1976 * spinloop, release them all now so they can start
1977 * to spin on their individual paca spinloops. 1977 * to spin on their individual paca spinloops.
1978 * For non SMP kernels, the secondary cpus never 1978 * For non SMP kernels, the secondary cpus never
1979 * get out of the common spinloop. 1979 * get out of the common spinloop.
1980 * XXX This does nothing useful on iSeries, secondaries are
1981 * already waiting on their paca.
1980 */ 1982 */
1981 li r3,1 1983 li r3,1
1982 LOADADDR(r5,__secondary_hold_spinloop) 1984 LOADADDR(r5,__secondary_hold_spinloop)
1983 std r3,0(r5) 1985 std r3,0(r5)
1984 sync 1986 sync
1985 blr 1987 blr
1986#endif /* CONFIG_SMP && !CONFIG_PPC_ISERIES */ 1988#endif /* CONFIG_SMP */
1987 1989
1988 1990
1989/* 1991/*