linux/arch/sparc/include
David S. Miller 6153a856d7 sparc64: Fix constraints on swab helpers.
commit 5a2b59d399 upstream.

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: Luis Henriques <luis.henriques@canonical.com>
History 2014-12-01 10:02:08 +00:00
..
asm sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks 2014-11-27 11:22:00 +00:00
uapi/asm sparc64: Fix constraints on swab helpers. 2014-12-01 10:02:08 +00:00