[PATCH] powerpc: Reroute interrupts from 0 + offset to PHYSICAL_START + offset
authorMichael Ellerman <michael@ellerman.id.au>
Sun, 4 Dec 2005 07:39:37 +0000 (18:39 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:52:21 +0000 (14:52 +1100)
commit0cc4746cadda16826a1b3214c042a2f75445b71c
treeec8decc81a3f9fd09454ff208fd3b82cf5bdb730
parent8c4f1f2958ff9d4a6760f3bdd0cfb7d2b9e12093
[PATCH] powerpc: Reroute interrupts from 0 + offset to PHYSICAL_START + offset

Regardless of where the kernel's linked we always get interrupts at low
addresses. This patch creates a trampoline in the first 3 pages of memory,
where interrupts land, and patches those addresses to jump into the real
kernel code at PHYSICAL_START.

We also need to reserve the trampoline code and a bit more in prom.c

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/crash_dump.c [new file with mode: 0644]
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/setup_64.c
include/asm-powerpc/kdump.h [new file with mode: 0644]