summaryrefslogtreecommitdiff
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorVictor Kamensky <victor.kamensky@linaro.org>2013-07-26 20:28:53 +0400
committerBen Dooks <ben.dooks@codethink.co.uk>2013-10-19 23:46:36 +0400
commit2245f92498b216b50e744423bde17626287409d8 (patch)
tree276800cff9c3af537537a8a4a6c25a33d1c5c1ab /arch/arm/kernel
parent5a8b93fc9457be90adfa10d3df6497393c5e2dc2 (diff)
downloadlinux-2245f92498b216b50e744423bde17626287409d8.tar.xz
ARM: atomic64: fix endian-ness in atomic.h
Fix inline asm for atomic64_xxx functions in arm atomic.h. Instead of %H operand specifiers code should use %Q for least significant part of the value, and %R for the most significant part of the value. %H always returns the higher of the two register numbers, and therefore it is not endian neutral. %H should be used with ldrexd and strexd instructions. Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions