elf: add ELF_CORE_COPY_KERNEL_REGS()
commit6cd61c0baa8bce32271226198b46c67a7a05d108
authorTejun Heo <tj@kernel.org>
Mon, 9 Feb 2009 13:17:39 +0000 (9 22:17 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 9 Feb 2009 23:41:26 +0000 (10 00:41 +0100)
treef4584e1f105c0252f3f5f5cbf7e2e4be1eb5e2ce
parent92e2d508464b6293ad274fb606f766a458894142
elf: add ELF_CORE_COPY_KERNEL_REGS()

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: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/elfcore.h
kernel/kexec.c