]> 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)
commita2f277440dda477f10d8b36769c3790e20ab7233
tree6a1346c2619105866383ba482f709c77db43c5b4
parent5e349c63e93b0a3b6dcc6f744ced1269015f51cd
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