s390/bitops: use atomic primitives for bitops
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2016 15:22:47 +0000 (16:22 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2016 15:37:38 +0000 (16:37 +0100)
commit1993dbc7e09a7ffdd98975589aa83387928e9fe7
treef518fd484f98541a3d9c746d6199c1c7bec16134
parent126b30c3cb476ce68489a657a7defb8e73775e6f
s390/bitops: use atomic primitives for bitops

Replace the bitops specific atomic update code by the functions
from atomic_ops.h. This saves a few lines of non-trivial code.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/bitops.h