Skip to content
Commit 3b1904d0 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent a7da60f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment