[MIPS] Make prepare_frametrace() not clobber v0
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 29 Aug 2006 03:10:22 +0000 (12:10 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:37 +0000 (13:37 +0100)
commit898d229107f7aa8ea45685c11e2930783755f9ba
treebcff787ee7f792571c7b1b8e480a80b8da04c45b
parentf6502791d780b22fc147150137704a07a05ba361
[MIPS] Make prepare_frametrace() not clobber v0

Since lmo commit 323a380bf9e1a1679a774a2b053e3c1f2aa3f179 ("Simplify
dump_stack()") made prepare_frametrace() always inlined, using $2 (v0)
in __asm__ is not safe anymore.  We can use $1 (at) instead.  Also we
should use "dla" instead of "la" for 64-bit kernel.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c