linux/arch/powerpc/platforms
Michael Ellerman 758438a7b8 [PATCH] powerpc: Fixups for kernel linked at 32 MB
There's a few places where we need to fix things up for the kernel to work
if it's linked at 32MB:

 - platforms/powermac/smp.c
   To start secondary cpus on pmac we patch the reset vector, which is fine.
   Except if we're above 32MB we don't have enough bits for an absolute branch,
   it needs to relative.
 - kernel/head_64.s
    - A few branches in the cpu hold code need to load the full target address
      and do a bctr.
    - after_prom_start needs to load PHYSICAL_START as the dest address, not 0.
    - The exception prolog needs to load the low word of the target adddress,
      not just the low halfword.
    - Fixup handling of the initial stab address.
 - kernel/setup_64.c
   smp_release_cpus() needs to write 1 to the spinloop flag near 0, not 32 MB.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-09 14:52:25 +11:00
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
85xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [PATCH] spufs: cooperative scheduler support 2006-01-09 14:49:30 +11:00
chrp [PATCH] powerpc: More serial probe fixes (#2) 2006-01-09 14:50:58 +11:00
embedded6xx powerpc: Merge i8259.c into arch/powerpc/sysdev 2005-10-26 16:47:42 +10:00
iseries [PATCH] powerpc: Remove ItLpRegSave area from the paca 2006-01-09 14:50:32 +11:00
maple [PATCH] powerpc: serial port discovery (#2) 2006-01-09 14:49:50 +11:00
powermac [PATCH] powerpc: Fixups for kernel linked at 32 MB 2006-01-09 14:52:25 +11:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [PATCH] powerpc: Create a trampoline for the fwnmi vectors 2006-01-09 14:52:17 +11:00
Makefile [PATCH] powerpc: create a new arch/powerpc/platforms/cell/smp.c 2005-11-01 21:02:53 +11:00