[ARM] pxa: don't rely on r2 being preserved over a function call
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 11 Jan 2008 12:23:58 +0000 (12:23 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 20 Jan 2008 10:09:59 +0000 (10:09 +0000)
r2 is not guaranteed to be preserved over a function call, so relying
on it to store the link register over the call to sleep_phys_sp() is
unreliable.  Store the link register on the stack instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found