original_kernel/arch/powerpc
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
..
boot [PATCH] powerpc: Fix suboptimal uImage target 2006-01-09 14:50:25 +11:00
configs
kernel [PATCH] powerpc: Fixups for kernel linked at 32 MB 2006-01-09 14:52:25 +11:00
lib
mm [PATCH] powerpc: numa placement for dynamically added memory 2006-01-09 14:51:57 +11:00
oprofile [PATCH] powerpc: Add a is_kernel_addr() macro 2006-01-09 14:51:50 +11:00
platforms [PATCH] powerpc: Fixups for kernel linked at 32 MB 2006-01-09 14:52:25 +11:00
sysdev [PATCH] powerpc32: fix definition of distribute_irqs 2006-01-09 14:51:43 +11:00
xmon [PATCH] powerpc: Add a is_kernel_addr() macro 2006-01-09 14:51:50 +11:00
Kconfig [PATCH] powerpc: Add CONFIG_CRASH_DUMP 2006-01-09 14:52:14 +11:00
Kconfig.debug
Makefile