]> git.baikalelectronics.ru Git - kernel.git/commit
s390/atomic: make use of interlocked-access facility 1 instructions
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 11 Sep 2013 14:34:04 +0000 (16:34 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 24 Oct 2013 15:16:46 +0000 (17:16 +0200)
commit447a1729052cab454489139d3c22ea4b5a0b4478
tree6a1346c2619105866383ba482f709c77db43c5b4
parenta0f23f93e7b330a2d542cfdbf8928489c2e0d034
s390/atomic: make use of interlocked-access facility 1 instructions

Same as for bitops: make use of the interlocked-access facility 1
instructions which allow to atomically update storage locations
without a compare-and-swap loop.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/atomic.h