sparc64: Fix constraints on swab helpers.
authorDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2014 21:19:32 +0000 (13:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2014 21:19:32 +0000 (13:19 -0800)
commit5a2b59d3993e8ca4f7788a48a23e5cb303f26954
tree6924ab034074c2071e4fcd04ce5d66f08f79988f
parent1a17fdc4f4ed06b63fac1937470378a5441a663a
sparc64: Fix constraints on swab helpers.

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>
arch/sparc/include/uapi/asm/swab.h