]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sparc64: Fix constraints on swab helpers.
authorDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2014 21:19:32 +0000 (13:19 -0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 27 Nov 2014 10:12:07 +0000 (11:12 +0100)
commit0bdeed7d131bf61214dbce110959925c13ac7be5
treec088e561c1945101a400ac961753a546676bc29d
parent037e69291b28bb3c7ac303c8d743fca393a5532e
sparc64: Fix constraints on swab helpers.

[ Upstream commit 5a2b59d3993e8ca4f7788a48a23e5cb303f26954 ]

We are reading the memory location, so we have to have a memory
constraint in there purely for the sake of showing the data flow
to the compiler.

Reported-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/sparc/include/uapi/asm/swab.h