linux/arch/powerpc/platforms/powermac
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
..
backlight.c powerpc: rename powermac files to remove pmac_ prefix 2005-10-10 22:13:53 +10:00
bootx_init.c [PATCH] powerpc: Add back support for booting from BootX (#2) 2006-01-09 14:49:58 +11:00
cache.S powerpc: rename powermac files to remove pmac_ prefix 2005-10-10 22:13:53 +10:00
cpufreq_32.c powerpc: Fix typo in pmac_cpufreq_resume 2005-11-08 12:13:38 +11:00
cpufreq_64.c [PATCH] ppc64: SMU based macs cpufreq support 2005-11-08 11:17:34 +11:00
feature.c [PATCH] powerpc: Update OF address parsers 2006-01-09 14:51:26 +11:00
low_i2c.c [PATCH] powerpc: Unify udbg (#2) 2006-01-09 14:49:54 +11:00
Makefile [PATCH] powerpc: Add back support for booting from BootX (#2) 2006-01-09 14:49:58 +11:00
nvram.c [PATCH] powerpc: Merge kexec 2006-01-09 14:48:52 +11:00
pci.c [PATCH] powerpc: minor cleanup of void ptr deref 2006-01-09 14:52:04 +11:00
pic.c [PATCH] powerpc: Fix g5 build with xmon 2006-01-09 14:50:38 +11:00
pic.h powerpc: rename powermac files to remove pmac_ prefix 2005-10-10 22:13:53 +10:00
pmac.h powerpc: Merge in 64-bit powermac support. 2005-10-22 16:02:39 +10:00
setup.c [PATCH] powerpc: Unify udbg (#2) 2006-01-09 14:49:54 +11:00
sleep.S ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES 2005-10-17 11:50:32 +10:00
smp.c [PATCH] powerpc: Fixups for kernel linked at 32 MB 2006-01-09 14:52:25 +11:00
time.c powerpc: Remove __init from a function used in suspend/resume. 2005-11-15 11:17:09 +11:00
udbg_adb.c [PATCH] powerpc: udbg updates 2006-01-09 14:51:22 +11:00
udbg_scc.c [PATCH] powerpc: udbg updates 2006-01-09 14:51:22 +11:00