On Tue, 28 Feb 2017, Matt Redfearn wrote:
Since the instruction modifying the stack pointer is usually the firsts/ususally/usually/
in the function, that one is ususally handled correctly. But the
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.cPlease keep declarations in the reverse Christmas tree order, i.e. swap
index 803e255b6fc3..5b1e932ae973 100644
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -347,6 +347,7 @@ static int get_frame_info(struct mips_frame_info *info)
union mips_instruction insn, *ip, *ip_end;
const unsigned int max_insns = 128;
unsigned int i;
+ unsigned int last_insn_size = 0;
the last two.
Maciej