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)
commit75287430b4af7c22080d02b8cfc8344c4ecafc21
tree6a1346c2619105866383ba482f709c77db43c5b4
parent86d51bc31fabd3782a99375b6848c5c667e72605
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