]> 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)
commit8fe8a33f6cf56bdd3a0209b8d6526719061c4e03
tree6924ab034074c2071e4fcd04ce5d66f08f79988f
parent950e948e430ee10c104e6d7f7ff086a8474c666f
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