[MIPS] Make get_frame_info() more robust
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Thu, 3 Aug 2006 07:29:20 +0000 (09:29 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:28 +0000 (13:37 +0100)
commit0cceb4aa9acf6192a5f02134e764b1feeea8b9de
tree9c5dd31e00b7e7b3fcc694bd0d4e6213614a66c7
parent1666a6fc73f724cdc6bd7d699f9ada4b04953efe
[MIPS] Make get_frame_info() more robust

Now get_frame_info() wants to detect move sp instruction first. It
assumes that the save ra in the stack instruction can't happen
before allocating frame size space into the stack.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/process.c