]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Dec 2014 23:57:16 +0000 (15:57 -0800)
commiteec6264fe6f1545af5282674c5318238086b5a97
tree325bb9ac04fa220dc80ef5436d220f5afc61efdb
parentcd624598ec9c269ffb57c698bc83c3ad4c3a245a
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/include/uapi/asm/swab.h