s390/atomic: refactor atomic primitives
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2016 06:30:49 +0000 (07:30 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2016 15:37:33 +0000 (16:37 +0100)
commit126b30c3cb476ce68489a657a7defb8e73775e6f
tree22f35155d6fcb2440fb165e75adf1a36be9d11b5
parent847e0700121bdd7109f21a74992f0bdc3712b872
s390/atomic: refactor atomic primitives

Rework atomic.h to make the low level functions avaible for use
in other headers without using atomic_t, e.g. in bitops.h.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/atomic.h
arch/s390/include/asm/atomic_ops.h [new file with mode: 0644]
arch/s390/pci/pci_debug.c