diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-28 21:50:22 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-30 04:04:06 -0400 |
commit | ee400b63f37120987bd12a2fada850c6212d7563 (patch) | |
tree | ede86a22406e2383b9cf3e84d93bc00dce873341 /arch/powerpc/kernel | |
parent | dcff1b170b43d9b8cb83e275cb3451dfd261c23e (diff) |
powerpc: more cleanup of powerpc/kernel
Update head_64.S from arch/ppc64
Remove arc/ppc/kernel/fpu.S
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/head_64.S | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index 22a5ee07e1ea..db0cd3587627 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S | |||
@@ -1253,7 +1253,7 @@ unrecov_slb: | |||
1253 | * | 1253 | * |
1254 | * On iSeries, the hypervisor must fill in at least one entry before | 1254 | * On iSeries, the hypervisor must fill in at least one entry before |
1255 | * we get control (with relocate on). The address is give to the hv | 1255 | * we get control (with relocate on). The address is give to the hv |
1256 | * as a page number (see xLparMap in LparData.c), so this must be at a | 1256 | * as a page number (see xLparMap in lpardata.c), so this must be at a |
1257 | * fixed address (the linker can't compute (u64)&initial_stab >> | 1257 | * fixed address (the linker can't compute (u64)&initial_stab >> |
1258 | * PAGE_SHIFT). | 1258 | * PAGE_SHIFT). |
1259 | */ | 1259 | */ |
@@ -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 | /* |