ARM: 5627/1: Fix restoring of lr at the end of mcount
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 29 Jul 2009 18:31:30 +0000 (19:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 30 Jul 2009 09:44:16 +0000 (10:44 +0100)
commit3ef7143d2287b21e09e00a25a8cb4fbdcf0c6c4c
tree80f048c1aad3d111e74c99b034e67877ae034eaa
parente624859e7eb6ae2930df3923af73406dc6ccdad8
ARM: 5627/1: Fix restoring of lr at the end of mcount

After ftrace_trace_function is called r1 is probably clobbered so don't
try to use its value for restoring.

This was introduced in v2.6.29~38^2~7

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-common.S