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

Skip to content
Commit 21046190 authored by Prasad Sodagudi's avatar Prasad Sodagudi Committed by Gerrit - the friendly Code Review server
Browse files

drivers: soc: qcom: Fix register names used with proper macros



Currently r0, r1, etc registers are used in scm driver.
To have compatibility between the arm and arm64 bit modes,
start using R0_STR, R1_STR, etc macros. GCC apparently lets
use r0, r1, etc. as register names even in arm64 mode but
clang does not. So by using marcos in inline assembly,
we can avoid compiler warnings.

Change-Id: I8a7103738bb6603693287afd22c0346cb397458e
Signed-off-by: default avatarTrilok Soni <tsoni@codeaurora.org>
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: default avatarShadab Naseem <snaseem@codeaurora.org>
parent 6f8fab7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment