MIPS: Unbreak function tracer for 64-bit kernel.
authorDavid Daney <david.daney@cavium.com>
Tue, 2 Apr 2013 22:59:29 +0000 (22:59 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 5 Apr 2013 13:10:22 +0000 (15:10 +0200)
commitad8c396936e328f5344e1881afde9e28d5f2045f
tree826e7e81ddf06649ffd5fcb9a32a201774bbca74
parent07961ac7c0ee8b546658717034fe692fd12eefa9
MIPS: Unbreak function tracer for 64-bit kernel.

Commit 58b69401c797 [MIPS: Function tracer: Fix broken function tracing]
completely broke the function tracer for 64-bit kernels.  The symptom is
a system hang very early in the boot process.

The fix: Remove/fix $sp adjustments for 64-bit case.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: Al Cooper <alcooperx@gmail.com>
Cc: viric@viric.name
Cc: stable@vger.kernel.org # 3.8.x
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/mcount.S