• T
    elf: add ELF_CORE_COPY_KERNEL_REGS() · 6cd61c0b
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    6cd61c0b
kexec.c 37.4 KB