Commit 1a089f3f authored by Neil Leeder's avatar Neil Leeder Committed by Sudhir Sharma
Browse files

arm: common: fix cpaccess asm instruction



The write_val argument was not specified as an input
on the asm instruction. The compiler thought it wasn't used,
even though the asm instruction does use r0, which
is how write_val is passed into the function. The compiler
would optimise out the argument being passed into
the function.

Add write_val as an input operand to prevent it being
optimised out.

Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
(cherry picked from commit e1bb10a1)

Change-Id: I478f79a1a34a4ee15516a1765f8c6094191454fd
Signed-off-by: default avatarSudhir Sharma <sudsha@codeaurora.org>
parent 33f82520
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment