]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[PATCH] powerpc: Fix kdump copy regs and dynamic allocate per-cpu crash notes
authorHaren Myneni <haren@us.ibm.com>
Sat, 14 Jan 2006 03:15:36 +0000 (19:15 -0800)
committerPaul Mackerras <paulus@samba.org>
Sun, 15 Jan 2006 02:14:42 +0000 (13:14 +1100)
commit8385a6a3acfbb4b68150c25cfe9084b6c4f501cf
tree9985155527550b8025603515e4ba96d5c24e6072
parent9216ad8cb7849d88b6d8e9f097718de4f25d4121
[PATCH] powerpc: Fix kdump copy regs and dynamic allocate per-cpu crash notes

- This contains the arch specific changes for the following the
kdump generic fixes which were already accepted in the upstream.
       .   Capturing CPU registers (for the case of 'panic' and invoking
the dump using 'sysrq-trigger') from a function (stack frame) which will
be not be available during the kdump boot. Hence, might result in
invalid stack trace.
       .   Dynamically allocating per cpu ELF notes section instead of
statically for NR_CPUS.

- Fix the compiler warning in prom_init.c.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/crash.c
arch/powerpc/kernel/prom_init.c
include/asm-powerpc/kexec.h