• Magnus Damm's avatar
    [PATCH] Kexec / Kdump: Unify elf note code · 85916f81
    Magnus Damm authored
    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: default avatarMagnus 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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    85916f81
crash.c 3.16 KB