aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/head.S
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-22 01:55:58 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-22 01:55:58 -0400
commitef1a12817aebc313049d226f96eee86e4bcc94a3 (patch)
tree9c20807e70ef93a3e709e38464b627280bf67b36 /arch/ppc64/kernel/head.S
parent529294d59fdc77bf15f00f2308bbeb73e03e7042 (diff)
ppc64: Simplify secondary CPU startup on powermacs
... for consistency with ppc32, and because this way is neater. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/head.S')
-rw-r--r--arch/ppc64/kernel/head.S25
1 files changed, 11 insertions, 14 deletions
diff --git a/arch/ppc64/kernel/head.S b/arch/ppc64/kernel/head.S
index 15c5f0c48043..f58af9c246cb 100644
--- a/arch/ppc64/kernel/head.S
+++ b/arch/ppc64/kernel/head.S
@@ -1556,20 +1556,17 @@ copy_to_here:
1556 .section ".text"; 1556 .section ".text";
1557 .align 2 ; 1557 .align 2 ;
1558 1558
1559 .globl pmac_secondary_start_1 1559 .globl __secondary_start_pmac_0
1560pmac_secondary_start_1: 1560__secondary_start_pmac_0:
1561 li r24, 1 1561 /* NB the entries for cpus 0, 1, 2 must each occupy 8 bytes. */
1562 b .pmac_secondary_start 1562 li r24,0
1563 1563 b 1f
1564 .globl pmac_secondary_start_2 1564 li r24,1
1565pmac_secondary_start_2: 1565 b 1f
1566 li r24, 2 1566 li r24,2
1567 b .pmac_secondary_start 1567 b 1f
1568 1568 li r24,3
1569 .globl pmac_secondary_start_3 15691:
1570pmac_secondary_start_3:
1571 li r24, 3
1572 b .pmac_secondary_start
1573 1570
1574_GLOBAL(pmac_secondary_start) 1571_GLOBAL(pmac_secondary_start)
1575 /* turn on 64-bit mode */ 1572 /* turn on 64-bit mode */