]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Kexec / Kdump: Unify elf note code
authorMagnus Damm <magnus@valinux.co.jp>
Thu, 7 Dec 2006 04:40:41 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:46 +0000 (08:39 -0800)
commit85916f8166b59eeac63d2b4f7f1df8de849334b4
tree176176a0a75cfe42043c463a4391dd9f7975a69c
parent6d4df677f8a60ea6bc0ef1a596c1a3a79b1d4882
[PATCH] Kexec / Kdump: Unify elf note code

The elf note saving code is currently duplicated over several
architectures.  This cleanup patch simply adds code to a common file and
then replaces the arch-specific code with calls to the newly added code.

The only drawback with this approach is that s390 doesn't fully support
kexec-on-panic which for that arch leads to introduction of unused code.

Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/crash.c
arch/powerpc/kernel/crash.c
arch/x86_64/kernel/crash.c
include/linux/kexec.h
kernel/kexec.c