arm: fix get_sp (missing return)

__get_sp is missing a return! I don't know how it ever worked.
Use "bx lr" since it works in all cases (armp and thumb).

Change-Id: I26011db333a8a5f96276be83e18da7507c501c38
Reviewed-on: http://gerrit.rockbox.org/206
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
This commit is contained in:
Amaury Pouly 2012-04-02 15:15:01 +02:00 committed by Marcin Bukat
parent bc41926b8f
commit a54072e299

View file

@ -31,4 +31,5 @@ get_sp:
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
msr cpsr, r1 /* restore mode */
#endif
bx lr
.size __get_sp, . - __get_sp