diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-22 02:02:39 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-22 02:02:39 -0400 |
commit | 35499c0195e46f479cf6ac16ad8d3f394b5fcc10 (patch) | |
tree | 25660acd2425de5236a1eff7a25dc931e6f86492 /arch/powerpc/kernel/head_64.S | |
parent | b6ba92819dc1304a4e5a0bf06b297c657b58168a (diff) |
powerpc: Merge in 64-bit powermac support.
This brings in a lot of changes from arch/ppc64/kernel/pmac_*.c to
arch/powerpc/platforms/powermac/*.c and makes various minor tweaks
elsewhere. On the powermac we now initialize ppc_md by copying
the whole pmac_md structure into it, which required some changes in
the ordering of initializations of individual fields of it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/head_64.S')
-rw-r--r-- | arch/powerpc/kernel/head_64.S | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index 72b0d26e41d4..147215a0d6c0 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S | |||
@@ -1501,20 +1501,17 @@ copy_to_here: | |||
1501 | .section ".text"; | 1501 | .section ".text"; |
1502 | .align 2 ; | 1502 | .align 2 ; |
1503 | 1503 | ||
1504 | .globl pmac_secondary_start_1 | 1504 | .globl __secondary_start_pmac_0 |
1505 | pmac_secondary_start_1: | 1505 | __secondary_start_pmac_0: |
1506 | li r24, 1 | 1506 | /* NB the entries for cpus 0, 1, 2 must each occupy 8 bytes. */ |
1507 | b .pmac_secondary_start | 1507 | li r24,0 |
1508 | 1508 | b 1f | |
1509 | .globl pmac_secondary_start_2 | 1509 | li r24,1 |
1510 | pmac_secondary_start_2: | 1510 | b 1f |
1511 | li r24, 2 | 1511 | li r24,2 |
1512 | b .pmac_secondary_start | 1512 | b 1f |
1513 | 1513 | li r24,3 | |
1514 | .globl pmac_secondary_start_3 | 1514 | 1: |
1515 | pmac_secondary_start_3: | ||
1516 | li r24, 3 | ||
1517 | b .pmac_secondary_start | ||
1518 | 1515 | ||
1519 | _GLOBAL(pmac_secondary_start) | 1516 | _GLOBAL(pmac_secondary_start) |
1520 | /* turn on 64-bit mode */ | 1517 | /* turn on 64-bit mode */ |