summaryrefslogtreecommitdiffstats
path: root/arch/m32r/lib
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2017-05-03 16:09:37 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2017-05-09 17:47:17 +0100
commit8997c93452d16aac11d3b0cc53940c94330273a4 (patch)
tree91552b40605f27ca1850a0a18be64c768e83a2f5 /arch/m32r/lib
parent55de49f9aa17b0b2b144dd2af587177b9aadf429 (diff)
downloadlinux-8997c93452d16aac11d3b0cc53940c94330273a4.tar.bz2
arm64: atomic_lse: match asm register sizes
The LSE atomic code uses asm register variables to ensure that parameters are allocated in specific registers. In the majority of cases we specifically ask for an x register when using 64-bit values, but in a couple of cases we use a w regsiter for a 64-bit value. For asm register variables, the compiler only cares about the register index, with wN and xN having the same meaning. The compiler determines the register size to use based on the type of the variable. Thus, this inconsistency is merely confusing, and not harmful to code generation. For consistency, this patch updates those cases to use the x register alias. There should be no functional change as a result of this patch. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/m32r/lib')
0 files changed, 0 insertions, 0 deletions