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

Skip to content
Commit 44bae977 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

ARM: msm: Don't use function labels for v2p translation



Using a function label for virt to phys translations causes
problems on THUMB2 kernels because the assembler will OR in a 1
at the bottom of the address when we ldr the label. Avoid this
problem by using a local variable and label that we can use to
calculate the amount we should subtract from the virtual address
to get the physical address. This should work for both ARM and
THUMB2 kernels.

Change-Id: Ifdd6120fd79711b99f0b358792b3b76f66ce48bb
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent b7f35903
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