]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
elf: add ELF_CORE_COPY_KERNEL_REGS()
authorTejun Heo <tj@kernel.org>
Mon, 9 Feb 2009 13:17:39 +0000 (22:17 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 9 Feb 2009 23:41:26 +0000 (00:41 +0100)
commit6cd61c0baa8bce32271226198b46c67a7a05d108
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