From: Victor Kamensky Date: Fri, 26 Jul 2013 16:28:53 +0000 (-0700) Subject: ARM: atomic64: fix endian-ness in atomic.h X-Git-Tag: v3.13-rc1~103^2~1^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2245f92498b216b50e744423bde17626287409d8;p=pandora-kernel.git 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 Acked-by: Will Deacon Signed-off-by: Ben Dooks --- Reading git-diff-tree failed