• Tejun Heo's avatar
    elf: add ELF_CORE_COPY_KERNEL_REGS() · 6cd61c0b
    Tejun Heo authored
    ELF core dump is used for both user land core dump and kernel crash
    dump.  Depending on architecture, register might need to be accessed
    differently for userland and kernel.  Allow architectures to define
    ELF_CORE_COPY_KERNEL_REGS() and use different operation for kernel
    register dump.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    6cd61c0b
kexec.c 37.4 KB