commit | 3b1904d00a54d4d839a4c12dbc98a14dc4efdc95 | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Fri Jan 11 12:23:58 2008 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Jan 20 10:09:59 2008 +0000 |
tree | 02edcde7c2d7ec7c90dbf4a1cbcbff963515ff50 | |
parent | a7da60f41551abb3c520b03d42ec05dd7decfc7f [diff] |
[ARM] pxa: don't rely on r2 being preserved over a function call 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>