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

Skip to content
Commit 0990feb5 authored by Prasad Sodagudi's avatar Prasad Sodagudi
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>
parent e8a1ccf5
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