commit | 6cd61c0baa8bce32271226198b46c67a7a05d108 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Feb 09 22:17:39 2009 +0900 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Feb 10 00:41:26 2009 +0100 |
tree | f4584e1f105c0252f3f5f5cbf7e2e4be1eb5e2ce | |
parent | 92e2d508464b6293ad274fb606f766a458894142 [diff] |
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>