Skip to content
Commit 5b6b0847 authored by Corey Minyard's avatar Corey Minyard Committed by Ralf Baechle
Browse files

mips: Save all registers when saving the frame



The MIPS frame save code was just saving a few registers, enough to
do a backtrace if every function set up a frame.  However, this is
not working if you are using DWARF unwinding, because most of the
registers are wrong.  This was causing kdump backtraces to be short
or bogus.

So save all the registers.

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/16989/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 866b6a89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment