Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 556bdeb6 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: idle-v7: Fix for THUMB2 builds



Assembly functions need ENDPROC so that the assembler can
determine that the functions are thumb vs. arm. Otherwise a blx
will be generated causing us to switch into arm mode when we
still want to execute thumb code. Also, you can't use sp in the
register list of ldm/stm instructions, so remove it in thumb
builds and do the load/store separately.

Change-Id: I864d2ff2805a49d8fd96a2e90ca16a5511da6577
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 66d0b021
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment