]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2014 21:19:32 +0000 (13:19 -0800)
commit68c23399e1e75e6223f893ff59e5b0e8c75932ea
tree6924ab034074c2071e4fcd04ce5d66f08f79988f
parent17c78299c609331b759d22309f5aa23ef0adf8b3
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